@iblai/iblai-api 3.48.3-ai-plus → 3.48.4-ai
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/index.cjs.js +5918 -6748
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5919 -6747
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +5918 -6748
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -40
- package/dist/types/models/{VoiceProviderEnum.d.ts → ProviderEnum.d.ts} +1 -1
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/services/AiAccountService.d.ts +66 -41
- package/dist/types/services/AiAnalyticsService.d.ts +2021 -923
- package/dist/types/services/AiIndexService.d.ts +78 -71
- package/dist/types/services/AiMarketingService.d.ts +17 -13
- package/dist/types/services/AiMediaService.d.ts +45 -41
- package/dist/types/services/AiMentorService.d.ts +1545 -1037
- package/dist/types/services/AiPromptService.d.ts +342 -228
- package/dist/types/services/AnalyticsService.d.ts +42 -13
- package/dist/types/services/AudienceService.d.ts +345 -149
- package/dist/types/services/CareerService.d.ts +117 -90
- package/dist/types/services/CatalogService.d.ts +3735 -1072
- package/dist/types/services/CoreService.d.ts +441 -215
- package/dist/types/services/CredentialsService.d.ts +173 -138
- package/dist/types/services/DepartmentsService.d.ts +53 -16
- package/dist/types/services/EngagementService.d.ts +459 -179
- package/dist/types/services/FeaturesService.d.ts +16 -7
- package/dist/types/services/FinanceService.d.ts +49 -20
- package/dist/types/services/MediaResourcesService.d.ts +243 -67
- package/dist/types/services/NotificationBuilderService.d.ts +31 -17
- package/dist/types/services/NotificationService.d.ts +56 -49
- package/dist/types/services/OrgsService.d.ts +106 -77
- package/dist/types/services/OverviewService.d.ts +154 -55
- package/dist/types/services/PerformanceService.d.ts +132 -56
- package/dist/types/services/PerlearnerService.d.ts +431 -217
- package/dist/types/services/PlatformService.d.ts +221 -116
- package/dist/types/services/ProviderAssociationService.d.ts +3 -2
- package/dist/types/services/ProvidersService.d.ts +27 -18
- package/dist/types/services/ProvisionService.d.ts +3 -2
- package/dist/types/services/RecommendationsService.d.ts +3 -3
- package/dist/types/services/ReportsService.d.ts +22 -16
- package/dist/types/services/RolesService.d.ts +8 -6
- package/dist/types/services/SearchService.d.ts +730 -195
- package/dist/types/services/ServiceService.d.ts +33 -29
- package/dist/types/services/SkillsService.d.ts +40 -32
- package/dist/types/services/UserGroupsService.d.ts +53 -16
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -40
- package/src/models/{VoiceProviderEnum.ts → ProviderEnum.ts} +1 -1
- package/src/models/Voice.ts +2 -2
- package/src/services/AiAccountService.ts +81 -55
- package/src/services/AiAnalyticsService.ts +2422 -1181
- package/src/services/AiIndexService.ts +112 -87
- package/src/services/AiMarketingService.ts +25 -16
- package/src/services/AiMediaService.ts +67 -51
- package/src/services/AiMentorService.ts +2105 -1265
- package/src/services/AiPromptService.ts +484 -275
- package/src/services/AnalyticsService.ts +45 -16
- package/src/services/AudienceService.ts +380 -184
- package/src/services/CareerService.ts +144 -117
- package/src/services/CatalogService.ts +3995 -1332
- package/src/services/CoreService.ts +523 -291
- package/src/services/CredentialsService.ts +253 -173
- package/src/services/DepartmentsService.ts +56 -19
- package/src/services/EngagementService.ts +528 -236
- package/src/services/FeaturesService.ts +19 -10
- package/src/services/FinanceService.ts +54 -25
- package/src/services/MediaResourcesService.ts +251 -75
- package/src/services/NotificationBuilderService.ts +36 -22
- package/src/services/NotificationService.ts +73 -61
- package/src/services/OrgsService.ts +135 -106
- package/src/services/OverviewService.ts +172 -73
- package/src/services/PerformanceService.ts +153 -77
- package/src/services/PerlearnerService.ts +591 -279
- package/src/services/PlatformService.ts +278 -157
- package/src/services/ProviderAssociationService.ts +4 -3
- package/src/services/ProvidersService.ts +36 -27
- package/src/services/ProvisionService.ts +4 -3
- package/src/services/RecommendationsService.ts +5 -4
- package/src/services/ReportsService.ts +28 -22
- package/src/services/RolesService.ts +10 -8
- package/src/services/SearchService.ts +771 -236
- package/src/services/ServiceService.ts +49 -39
- package/src/services/SkillsService.ts +56 -44
- package/src/services/UserGroupsService.ts +56 -19
- package/dist/types/models/Bot.d.ts +0 -15
- package/dist/types/models/BotCommand.d.ts +0 -6
- package/dist/types/models/BotCreate.d.ts +0 -12
- package/dist/types/models/DataSet.d.ts +0 -21
- package/dist/types/models/DataSetCreate.d.ts +0 -12
- package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
- package/dist/types/models/DiscordConfig.d.ts +0 -7
- package/dist/types/models/DiscordUserConfig.d.ts +0 -10
- package/dist/types/models/DiscordWebhook.d.ts +0 -6
- package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
- package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
- package/dist/types/models/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- package/dist/types/models/PatchedDataSet.d.ts +0 -21
- package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
- package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
- package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
- package/dist/types/models/Provider05cEnum.d.ts +0 -14
- package/dist/types/models/Provider63aEnum.d.ts +0 -6
- package/dist/types/models/SlackConfig.d.ts +0 -8
- package/dist/types/models/SlackUserConfig.d.ts +0 -17
- package/dist/types/models/SlackWebhook.d.ts +0 -6
- package/dist/types/models/TeamsConfig.d.ts +0 -7
- package/dist/types/models/TeamsWebhook.d.ts +0 -17
- package/dist/types/models/Training.d.ts +0 -41
- package/dist/types/models/TrainingCreate.d.ts +0 -31
- package/dist/types/models/WebexConfig.d.ts +0 -10
- package/dist/types/models/WebexWebhook.d.ts +0 -4
- package/dist/types/models/WhatAppWebHook.d.ts +0 -3
- package/dist/types/models/WhatsappConfig.d.ts +0 -11
- package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
- package/dist/types/services/AiBotService.d.ts +0 -486
- package/dist/types/services/AiFinetuningService.d.ts +0 -162
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCommand.ts +0 -11
- package/src/models/BotCreate.ts +0 -17
- package/src/models/DataSet.ts +0 -26
- package/src/models/DataSetCreate.ts +0 -17
- package/src/models/DataSetStatusEnum.ts +0 -16
- package/src/models/DiscordConfig.ts +0 -12
- package/src/models/DiscordUserConfig.ts +0 -15
- package/src/models/DiscordWebhook.ts +0 -11
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/PaginatedTrainingList.ts +0 -12
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/Provider63aEnum.ts +0 -10
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiBotService.ts +0 -1174
- package/src/services/AiFinetuningService.ts +0 -402
|
@@ -8,26 +8,75 @@ import type { CancelablePromise } from '../core/CancelablePromise';
|
|
|
8
8
|
export declare class SearchService {
|
|
9
9
|
/**
|
|
10
10
|
* Legacy endpoint for backward compatible mentor search
|
|
11
|
-
* @param audience Filter by target audience
|
|
12
|
-
* @param category Filter by mentor category
|
|
13
|
-
* @param createdBy Filter mentors created by specific user
|
|
14
|
-
* @param filterFacet If present, return only facets without results
|
|
15
|
-
* @param id Retrieve a specific mentor by ID
|
|
16
|
-
* @param limit Number of results per page
|
|
17
|
-
* @param llm Filter by language model type
|
|
18
|
-
* @param offset Starting position for pagination
|
|
19
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
20
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
21
|
-
* @param page Page number (1-based, used with page_size)
|
|
22
|
-
* @param pageSize Number of results per page
|
|
23
|
-
* @param query Search term to filter mentors by name or description
|
|
24
|
-
* @param tags Filter by tags
|
|
25
|
-
* @param tenant Filter by tenant/organization
|
|
26
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
27
11
|
* @returns MentorSearchResponse
|
|
28
12
|
* @throws ApiError
|
|
29
13
|
*/
|
|
30
|
-
static searchAiSearchRetrieve(audience
|
|
14
|
+
static searchAiSearchRetrieve({ audience, category, createdBy, filterFacet, id, limit, llm, offset, orderBy, orderDirection, page, pageSize, query, tags, tenant, uniqueId, }: {
|
|
15
|
+
/**
|
|
16
|
+
* Filter by target audience
|
|
17
|
+
*/
|
|
18
|
+
audience?: Array<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Filter by mentor category
|
|
21
|
+
*/
|
|
22
|
+
category?: Array<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Filter mentors created by specific user
|
|
25
|
+
*/
|
|
26
|
+
createdBy?: string;
|
|
27
|
+
/**
|
|
28
|
+
* If present, return only facets without results
|
|
29
|
+
*/
|
|
30
|
+
filterFacet?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve a specific mentor by ID
|
|
33
|
+
*/
|
|
34
|
+
id?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Number of results per page
|
|
37
|
+
*/
|
|
38
|
+
limit?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Filter by language model type
|
|
41
|
+
*/
|
|
42
|
+
llm?: Array<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Starting position for pagination
|
|
45
|
+
*/
|
|
46
|
+
offset?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
49
|
+
*/
|
|
50
|
+
orderBy?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Sort direction ('asc' or 'desc')
|
|
53
|
+
*/
|
|
54
|
+
orderDirection?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Page number (1-based, used with page_size)
|
|
57
|
+
*/
|
|
58
|
+
page?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Number of results per page
|
|
61
|
+
*/
|
|
62
|
+
pageSize?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Search term to filter mentors by name or description
|
|
65
|
+
*/
|
|
66
|
+
query?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Filter by tags
|
|
69
|
+
*/
|
|
70
|
+
tags?: Array<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Filter by tenant/organization
|
|
73
|
+
*/
|
|
74
|
+
tenant?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Retrieve a specific mentor by UUID
|
|
77
|
+
*/
|
|
78
|
+
uniqueId?: string;
|
|
79
|
+
}): CancelablePromise<MentorSearchResponse>;
|
|
31
80
|
/**
|
|
32
81
|
* Search and filter content across the learning catalog.
|
|
33
82
|
*
|
|
@@ -193,39 +242,127 @@ export declare class SearchService {
|
|
|
193
242
|
* - Results are cached for performance
|
|
194
243
|
* - The 'resources' content type is only included by default if IBL_ENABLE_RESOURCES_IN_FACET is true
|
|
195
244
|
* - For debugging, add ?debug=true to see detailed information about skill matching
|
|
196
|
-
* @param allowSkillSearch Enable skill-based search
|
|
197
|
-
* @param alphabetical Sort alphabetically by name
|
|
198
|
-
* @param certificate Filter by certificate type
|
|
199
|
-
* @param content Content types to include in results
|
|
200
|
-
* @param courseId Filter by specific course ID
|
|
201
|
-
* @param duration Filter by course duration range
|
|
202
|
-
* @param language Filter by content language
|
|
203
|
-
* @param level Filter by difficulty level
|
|
204
|
-
* @param limit Number of results per page
|
|
205
|
-
* @param offset Starting position for pagination
|
|
206
|
-
* @param orderAscending Sort direction
|
|
207
|
-
* @param orderBy Field to sort results by
|
|
208
|
-
* @param pathwayId Filter by specific pathway ID
|
|
209
|
-
* @param price Filter by price/audit status
|
|
210
|
-
* @param programId Filter by specific program ID
|
|
211
|
-
* @param programType Filter by program type
|
|
212
|
-
* @param promotion Filter by promotion status
|
|
213
|
-
* @param query Search term to filter content by name or description
|
|
214
|
-
* @param resourceType Filter by resource type
|
|
215
|
-
* @param returnFacet Include facet data in response
|
|
216
|
-
* @param returnItems Include items in programs/pathways
|
|
217
|
-
* @param selfPaced Filter by course format
|
|
218
|
-
* @param skillId Filter by specific skill ID
|
|
219
|
-
* @param skills Filter by skills
|
|
220
|
-
* @param subject Filter by subject areas
|
|
221
|
-
* @param tags Filter by tags
|
|
222
|
-
* @param tenant Filter by tenant/organization
|
|
223
|
-
* @param topics Filter by topic areas
|
|
224
|
-
* @param updateFacet Force facet update
|
|
225
245
|
* @returns GlobalCatalogSearchResponse
|
|
226
246
|
* @throws ApiError
|
|
227
247
|
*/
|
|
228
|
-
static searchCatalogRetrieve(allowSkillSearch
|
|
248
|
+
static searchCatalogRetrieve({ allowSkillSearch, alphabetical, certificate, content, courseId, duration, language, level, limit, offset, orderAscending, orderBy, pathwayId, price, programId, programType, promotion, query, resourceType, returnFacet, returnItems, selfPaced, skillId, skills, subject, tags, tenant, topics, updateFacet, }: {
|
|
249
|
+
/**
|
|
250
|
+
* Enable skill-based search
|
|
251
|
+
*/
|
|
252
|
+
allowSkillSearch?: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Sort alphabetically by name
|
|
255
|
+
*/
|
|
256
|
+
alphabetical?: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* Filter by certificate type
|
|
259
|
+
*/
|
|
260
|
+
certificate?: Array<string>;
|
|
261
|
+
/**
|
|
262
|
+
* Content types to include in results
|
|
263
|
+
*/
|
|
264
|
+
content?: Array<string>;
|
|
265
|
+
/**
|
|
266
|
+
* Filter by specific course ID
|
|
267
|
+
*/
|
|
268
|
+
courseId?: string;
|
|
269
|
+
/**
|
|
270
|
+
* Filter by course duration range
|
|
271
|
+
*/
|
|
272
|
+
duration?: Array<string>;
|
|
273
|
+
/**
|
|
274
|
+
* Filter by content language
|
|
275
|
+
*/
|
|
276
|
+
language?: Array<string>;
|
|
277
|
+
/**
|
|
278
|
+
* Filter by difficulty level
|
|
279
|
+
*/
|
|
280
|
+
level?: Array<string>;
|
|
281
|
+
/**
|
|
282
|
+
* Number of results per page
|
|
283
|
+
*/
|
|
284
|
+
limit?: number;
|
|
285
|
+
/**
|
|
286
|
+
* Starting position for pagination
|
|
287
|
+
*/
|
|
288
|
+
offset?: number;
|
|
289
|
+
/**
|
|
290
|
+
* Sort direction
|
|
291
|
+
*/
|
|
292
|
+
orderAscending?: boolean;
|
|
293
|
+
/**
|
|
294
|
+
* Field to sort results by
|
|
295
|
+
*/
|
|
296
|
+
orderBy?: string;
|
|
297
|
+
/**
|
|
298
|
+
* Filter by specific pathway ID
|
|
299
|
+
*/
|
|
300
|
+
pathwayId?: string;
|
|
301
|
+
/**
|
|
302
|
+
* Filter by price/audit status
|
|
303
|
+
*/
|
|
304
|
+
price?: string;
|
|
305
|
+
/**
|
|
306
|
+
* Filter by specific program ID
|
|
307
|
+
*/
|
|
308
|
+
programId?: string;
|
|
309
|
+
/**
|
|
310
|
+
* Filter by program type
|
|
311
|
+
*/
|
|
312
|
+
programType?: Array<string>;
|
|
313
|
+
/**
|
|
314
|
+
* Filter by promotion status
|
|
315
|
+
*/
|
|
316
|
+
promotion?: Array<string>;
|
|
317
|
+
/**
|
|
318
|
+
* Search term to filter content by name or description
|
|
319
|
+
*/
|
|
320
|
+
query?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Filter by resource type
|
|
323
|
+
*/
|
|
324
|
+
resourceType?: Array<string>;
|
|
325
|
+
/**
|
|
326
|
+
* Include facet data in response
|
|
327
|
+
*/
|
|
328
|
+
returnFacet?: boolean;
|
|
329
|
+
/**
|
|
330
|
+
* Include items in programs/pathways
|
|
331
|
+
*/
|
|
332
|
+
returnItems?: boolean;
|
|
333
|
+
/**
|
|
334
|
+
* Filter by course format
|
|
335
|
+
*/
|
|
336
|
+
selfPaced?: Array<string>;
|
|
337
|
+
/**
|
|
338
|
+
* Filter by specific skill ID
|
|
339
|
+
*/
|
|
340
|
+
skillId?: string;
|
|
341
|
+
/**
|
|
342
|
+
* Filter by skills
|
|
343
|
+
*/
|
|
344
|
+
skills?: Array<string>;
|
|
345
|
+
/**
|
|
346
|
+
* Filter by subject areas
|
|
347
|
+
*/
|
|
348
|
+
subject?: Array<string>;
|
|
349
|
+
/**
|
|
350
|
+
* Filter by tags
|
|
351
|
+
*/
|
|
352
|
+
tags?: Array<string>;
|
|
353
|
+
/**
|
|
354
|
+
* Filter by tenant/organization
|
|
355
|
+
*/
|
|
356
|
+
tenant?: Array<string>;
|
|
357
|
+
/**
|
|
358
|
+
* Filter by topic areas
|
|
359
|
+
*/
|
|
360
|
+
topics?: Array<string>;
|
|
361
|
+
/**
|
|
362
|
+
* Force facet update
|
|
363
|
+
*/
|
|
364
|
+
updateFacet?: string;
|
|
365
|
+
}): CancelablePromise<GlobalCatalogSearchResponse>;
|
|
229
366
|
/**
|
|
230
367
|
* Search and filter AI mentors across the platform.
|
|
231
368
|
*
|
|
@@ -338,40 +475,111 @@ export declare class SearchService {
|
|
|
338
475
|
* - Results are cached for performance
|
|
339
476
|
* - Public mentors are visible to all users
|
|
340
477
|
* - Private mentors are only visible to authorized users
|
|
341
|
-
* @param audience Filter by target audience
|
|
342
|
-
* @param category Filter by mentor category
|
|
343
|
-
* @param createdBy Filter mentors created by specific user
|
|
344
|
-
* @param featured Filter by featured status
|
|
345
|
-
* @param id Retrieve a specific mentor by ID
|
|
346
|
-
* @param limit Number of results per page
|
|
347
|
-
* @param llm Filter by language model type
|
|
348
|
-
* @param offset Starting position for pagination
|
|
349
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
350
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
351
|
-
* @param query Search term to filter mentors by name or description
|
|
352
|
-
* @param tags Filter by tags
|
|
353
|
-
* @param tenant Filter by tenant/organization
|
|
354
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
355
478
|
* @returns MentorSearchResponse
|
|
356
479
|
* @throws ApiError
|
|
357
480
|
*/
|
|
358
|
-
static searchMentorsRetrieve(audience
|
|
481
|
+
static searchMentorsRetrieve({ audience, category, createdBy, featured, id, limit, llm, offset, orderBy, orderDirection, query, tags, tenant, uniqueId, }: {
|
|
482
|
+
/**
|
|
483
|
+
* Filter by target audience
|
|
484
|
+
*/
|
|
485
|
+
audience?: Array<string>;
|
|
486
|
+
/**
|
|
487
|
+
* Filter by mentor category
|
|
488
|
+
*/
|
|
489
|
+
category?: Array<string>;
|
|
490
|
+
/**
|
|
491
|
+
* Filter mentors created by specific user
|
|
492
|
+
*/
|
|
493
|
+
createdBy?: string;
|
|
494
|
+
/**
|
|
495
|
+
* Filter by featured status
|
|
496
|
+
*/
|
|
497
|
+
featured?: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* Retrieve a specific mentor by ID
|
|
500
|
+
*/
|
|
501
|
+
id?: number;
|
|
502
|
+
/**
|
|
503
|
+
* Number of results per page
|
|
504
|
+
*/
|
|
505
|
+
limit?: number;
|
|
506
|
+
/**
|
|
507
|
+
* Filter by language model type
|
|
508
|
+
*/
|
|
509
|
+
llm?: Array<string>;
|
|
510
|
+
/**
|
|
511
|
+
* Starting position for pagination
|
|
512
|
+
*/
|
|
513
|
+
offset?: number;
|
|
514
|
+
/**
|
|
515
|
+
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
516
|
+
*/
|
|
517
|
+
orderBy?: string;
|
|
518
|
+
/**
|
|
519
|
+
* Sort direction ('asc' or 'desc')
|
|
520
|
+
*/
|
|
521
|
+
orderDirection?: string;
|
|
522
|
+
/**
|
|
523
|
+
* Search term to filter mentors by name or description
|
|
524
|
+
*/
|
|
525
|
+
query?: string;
|
|
526
|
+
/**
|
|
527
|
+
* Filter by tags
|
|
528
|
+
*/
|
|
529
|
+
tags?: Array<string>;
|
|
530
|
+
/**
|
|
531
|
+
* Filter by tenant/organization
|
|
532
|
+
*/
|
|
533
|
+
tenant?: string;
|
|
534
|
+
/**
|
|
535
|
+
* Retrieve a specific mentor by UUID
|
|
536
|
+
*/
|
|
537
|
+
uniqueId?: string;
|
|
538
|
+
}): CancelablePromise<MentorSearchResponse>;
|
|
359
539
|
/**
|
|
360
540
|
* Search and filter documents associated with a specific mentor
|
|
361
|
-
* @param mentorUniqueId
|
|
362
|
-
* @param access Filter by access level (e.g., 'public', 'private')
|
|
363
|
-
* @param documentType Filter by document type (e.g., 'pdf', 'text')
|
|
364
|
-
* @param limit Number of results per page
|
|
365
|
-
* @param offset Starting position for pagination
|
|
366
|
-
* @param orderBy Field to sort results by ('date_created', 'last_modified', 'document_name')
|
|
367
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
368
|
-
* @param platformKey Filter by platform key
|
|
369
|
-
* @param query Search term to filter documents by name or content
|
|
370
|
-
* @param trainingStatus Filter by training status (e.g., 'trained', 'pending')
|
|
371
541
|
* @returns DocumentSearchResponse
|
|
372
542
|
* @throws ApiError
|
|
373
543
|
*/
|
|
374
|
-
static searchMentorsDocumentsRetrieve(mentorUniqueId
|
|
544
|
+
static searchMentorsDocumentsRetrieve({ mentorUniqueId, access, documentType, limit, offset, orderBy, orderDirection, platformKey, query, trainingStatus, }: {
|
|
545
|
+
mentorUniqueId: string;
|
|
546
|
+
/**
|
|
547
|
+
* Filter by access level (e.g., 'public', 'private')
|
|
548
|
+
*/
|
|
549
|
+
access?: string;
|
|
550
|
+
/**
|
|
551
|
+
* Filter by document type (e.g., 'pdf', 'text')
|
|
552
|
+
*/
|
|
553
|
+
documentType?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Number of results per page
|
|
556
|
+
*/
|
|
557
|
+
limit?: number;
|
|
558
|
+
/**
|
|
559
|
+
* Starting position for pagination
|
|
560
|
+
*/
|
|
561
|
+
offset?: number;
|
|
562
|
+
/**
|
|
563
|
+
* Field to sort results by ('date_created', 'last_modified', 'document_name')
|
|
564
|
+
*/
|
|
565
|
+
orderBy?: string;
|
|
566
|
+
/**
|
|
567
|
+
* Sort direction ('asc' or 'desc')
|
|
568
|
+
*/
|
|
569
|
+
orderDirection?: string;
|
|
570
|
+
/**
|
|
571
|
+
* Filter by platform key
|
|
572
|
+
*/
|
|
573
|
+
platformKey?: string;
|
|
574
|
+
/**
|
|
575
|
+
* Search term to filter documents by name or content
|
|
576
|
+
*/
|
|
577
|
+
query?: string;
|
|
578
|
+
/**
|
|
579
|
+
* Filter by training status (e.g., 'trained', 'pending')
|
|
580
|
+
*/
|
|
581
|
+
trainingStatus?: string;
|
|
582
|
+
}): CancelablePromise<DocumentSearchResponse>;
|
|
375
583
|
/**
|
|
376
584
|
* Handle GET requests for tenant-specific mentor search.
|
|
377
585
|
*
|
|
@@ -382,26 +590,69 @@ export declare class SearchService {
|
|
|
382
590
|
*
|
|
383
591
|
* Returns:
|
|
384
592
|
* Response: DRF Response object with search results
|
|
385
|
-
* @param org
|
|
386
|
-
* @param username
|
|
387
|
-
* @param audience Filter by target audience
|
|
388
|
-
* @param category Filter by mentor category
|
|
389
|
-
* @param createdBy Filter mentors created by specific user
|
|
390
|
-
* @param featured Filter by featured status
|
|
391
|
-
* @param id Retrieve a specific mentor by ID
|
|
392
|
-
* @param limit Number of results per page
|
|
393
|
-
* @param llm Filter by language model type
|
|
394
|
-
* @param offset Starting position for pagination
|
|
395
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
396
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
397
|
-
* @param query Search term to filter mentors by name or description
|
|
398
|
-
* @param tags Filter by tags
|
|
399
|
-
* @param tenant Filter by tenant/organization
|
|
400
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
401
593
|
* @returns MentorSearchResponse
|
|
402
594
|
* @throws ApiError
|
|
403
595
|
*/
|
|
404
|
-
static searchOrgsUsersMentorsRetrieve(org
|
|
596
|
+
static searchOrgsUsersMentorsRetrieve({ org, username, audience, category, createdBy, featured, id, limit, llm, offset, orderBy, orderDirection, query, tags, tenant, uniqueId, }: {
|
|
597
|
+
org: string;
|
|
598
|
+
username: string;
|
|
599
|
+
/**
|
|
600
|
+
* Filter by target audience
|
|
601
|
+
*/
|
|
602
|
+
audience?: Array<string>;
|
|
603
|
+
/**
|
|
604
|
+
* Filter by mentor category
|
|
605
|
+
*/
|
|
606
|
+
category?: Array<string>;
|
|
607
|
+
/**
|
|
608
|
+
* Filter mentors created by specific user
|
|
609
|
+
*/
|
|
610
|
+
createdBy?: string;
|
|
611
|
+
/**
|
|
612
|
+
* Filter by featured status
|
|
613
|
+
*/
|
|
614
|
+
featured?: boolean;
|
|
615
|
+
/**
|
|
616
|
+
* Retrieve a specific mentor by ID
|
|
617
|
+
*/
|
|
618
|
+
id?: number;
|
|
619
|
+
/**
|
|
620
|
+
* Number of results per page
|
|
621
|
+
*/
|
|
622
|
+
limit?: number;
|
|
623
|
+
/**
|
|
624
|
+
* Filter by language model type
|
|
625
|
+
*/
|
|
626
|
+
llm?: Array<string>;
|
|
627
|
+
/**
|
|
628
|
+
* Starting position for pagination
|
|
629
|
+
*/
|
|
630
|
+
offset?: number;
|
|
631
|
+
/**
|
|
632
|
+
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
633
|
+
*/
|
|
634
|
+
orderBy?: string;
|
|
635
|
+
/**
|
|
636
|
+
* Sort direction ('asc' or 'desc')
|
|
637
|
+
*/
|
|
638
|
+
orderDirection?: string;
|
|
639
|
+
/**
|
|
640
|
+
* Search term to filter mentors by name or description
|
|
641
|
+
*/
|
|
642
|
+
query?: string;
|
|
643
|
+
/**
|
|
644
|
+
* Filter by tags
|
|
645
|
+
*/
|
|
646
|
+
tags?: Array<string>;
|
|
647
|
+
/**
|
|
648
|
+
* Filter by tenant/organization
|
|
649
|
+
*/
|
|
650
|
+
tenant?: string;
|
|
651
|
+
/**
|
|
652
|
+
* Retrieve a specific mentor by UUID
|
|
653
|
+
*/
|
|
654
|
+
uniqueId?: string;
|
|
655
|
+
}): CancelablePromise<MentorSearchResponse>;
|
|
405
656
|
/**
|
|
406
657
|
* Search and filter AI prompts for a specific user within a tenant.
|
|
407
658
|
*
|
|
@@ -432,96 +683,300 @@ export declare class SearchService {
|
|
|
432
683
|
* Access Control:
|
|
433
684
|
* - Results are filtered based on user's permissions within the organization
|
|
434
685
|
* - Private prompts are only visible to authorized users
|
|
435
|
-
* @param org
|
|
436
|
-
* @param username
|
|
437
|
-
* @param alphabetical Sort alphabetically
|
|
438
|
-
* @param category Filter by prompt category
|
|
439
|
-
* @param filterFacet If true, return only facets without results
|
|
440
|
-
* @param language Filter by prompt language
|
|
441
|
-
* @param limit Number of results per page
|
|
442
|
-
* @param mentor Filter by mentor UUID
|
|
443
|
-
* @param offset Starting position for pagination
|
|
444
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
445
|
-
* @param query Search term to filter prompts by name or content
|
|
446
|
-
* @param sortBy Field to sort results by
|
|
447
|
-
* @param style Filter by prompt style
|
|
448
|
-
* @param tenant Filter by tenant/organization
|
|
449
|
-
* @param tone Filter by prompt tone
|
|
450
686
|
* @returns PromptSearchResponse
|
|
451
687
|
* @throws ApiError
|
|
452
688
|
*/
|
|
453
|
-
static searchOrgsUsersPromptsRetrieve(org
|
|
689
|
+
static searchOrgsUsersPromptsRetrieve({ org, username, alphabetical, category, filterFacet, language, limit, mentor, offset, orderDirection, query, sortBy, style, tenant, tone, }: {
|
|
690
|
+
org: string;
|
|
691
|
+
username: string;
|
|
692
|
+
/**
|
|
693
|
+
* Sort alphabetically
|
|
694
|
+
*/
|
|
695
|
+
alphabetical?: boolean;
|
|
696
|
+
/**
|
|
697
|
+
* Filter by prompt category
|
|
698
|
+
*/
|
|
699
|
+
category?: string;
|
|
700
|
+
/**
|
|
701
|
+
* If true, return only facets without results
|
|
702
|
+
*/
|
|
703
|
+
filterFacet?: boolean;
|
|
704
|
+
/**
|
|
705
|
+
* Filter by prompt language
|
|
706
|
+
*/
|
|
707
|
+
language?: string;
|
|
708
|
+
/**
|
|
709
|
+
* Number of results per page
|
|
710
|
+
*/
|
|
711
|
+
limit?: number;
|
|
712
|
+
/**
|
|
713
|
+
* Filter by mentor UUID
|
|
714
|
+
*/
|
|
715
|
+
mentor?: string;
|
|
716
|
+
/**
|
|
717
|
+
* Starting position for pagination
|
|
718
|
+
*/
|
|
719
|
+
offset?: number;
|
|
720
|
+
/**
|
|
721
|
+
* Sort direction ('asc' or 'desc')
|
|
722
|
+
*/
|
|
723
|
+
orderDirection?: string;
|
|
724
|
+
/**
|
|
725
|
+
* Search term to filter prompts by name or content
|
|
726
|
+
*/
|
|
727
|
+
query?: string;
|
|
728
|
+
/**
|
|
729
|
+
* Field to sort results by
|
|
730
|
+
*/
|
|
731
|
+
sortBy?: string;
|
|
732
|
+
/**
|
|
733
|
+
* Filter by prompt style
|
|
734
|
+
*/
|
|
735
|
+
style?: string;
|
|
736
|
+
/**
|
|
737
|
+
* Filter by tenant/organization
|
|
738
|
+
*/
|
|
739
|
+
tenant?: string;
|
|
740
|
+
/**
|
|
741
|
+
* Filter by prompt tone
|
|
742
|
+
*/
|
|
743
|
+
tone?: string;
|
|
744
|
+
}): CancelablePromise<PromptSearchResponse>;
|
|
454
745
|
/**
|
|
455
746
|
* Determine whether to serve a detail view or a list view.
|
|
456
|
-
* @param org
|
|
457
|
-
* @param username
|
|
458
|
-
* @param certificate Filter by certificate type
|
|
459
|
-
* @param content Content types to include in recommendations (courses, programs, pathways, skills, roles, resources)
|
|
460
|
-
* @param courseId Retrieve a specific course by ID
|
|
461
|
-
* @param duration Filter by course duration range
|
|
462
|
-
* @param language Filter by content language
|
|
463
|
-
* @param level Filter by difficulty level
|
|
464
|
-
* @param limit Number of results per page
|
|
465
|
-
* @param offset Starting position for pagination
|
|
466
|
-
* @param pathwayId Retrieve a specific pathway by ID
|
|
467
|
-
* @param price Filter by price/audit status
|
|
468
|
-
* @param programId Retrieve a specific program by ID
|
|
469
|
-
* @param programType Filter by program type
|
|
470
|
-
* @param query Search term to filter content by name or description
|
|
471
|
-
* @param resourceId Retrieve a specific resource by ID
|
|
472
|
-
* @param resourceType Filter by resource type
|
|
473
|
-
* @param roleId Retrieve a specific role by ID
|
|
474
|
-
* @param selfPaced Filter by course format (self-paced, instructor-led)
|
|
475
|
-
* @param skillId Retrieve a specific skill by ID
|
|
476
|
-
* @param skills Filter by skills
|
|
477
|
-
* @param subject Filter by subject areas
|
|
478
|
-
* @param tags Filter by tags
|
|
479
|
-
* @param topics Filter by topic areas
|
|
480
747
|
* @returns RecommendedCoursesResponse
|
|
481
748
|
* @throws ApiError
|
|
482
749
|
*/
|
|
483
|
-
static searchOrgsUsersRecommendedRetrieve(org
|
|
750
|
+
static searchOrgsUsersRecommendedRetrieve({ org, username, certificate, content, courseId, duration, language, level, limit, offset, pathwayId, price, programId, programType, query, resourceId, resourceType, roleId, selfPaced, skillId, skills, subject, tags, topics, }: {
|
|
751
|
+
org: string;
|
|
752
|
+
username: string;
|
|
753
|
+
/**
|
|
754
|
+
* Filter by certificate type
|
|
755
|
+
*/
|
|
756
|
+
certificate?: Array<string>;
|
|
757
|
+
/**
|
|
758
|
+
* Content types to include in recommendations (courses, programs, pathways, skills, roles, resources)
|
|
759
|
+
*/
|
|
760
|
+
content?: Array<string>;
|
|
761
|
+
/**
|
|
762
|
+
* Retrieve a specific course by ID
|
|
763
|
+
*/
|
|
764
|
+
courseId?: string;
|
|
765
|
+
/**
|
|
766
|
+
* Filter by course duration range
|
|
767
|
+
*/
|
|
768
|
+
duration?: Array<string>;
|
|
769
|
+
/**
|
|
770
|
+
* Filter by content language
|
|
771
|
+
*/
|
|
772
|
+
language?: Array<string>;
|
|
773
|
+
/**
|
|
774
|
+
* Filter by difficulty level
|
|
775
|
+
*/
|
|
776
|
+
level?: Array<string>;
|
|
777
|
+
/**
|
|
778
|
+
* Number of results per page
|
|
779
|
+
*/
|
|
780
|
+
limit?: number;
|
|
781
|
+
/**
|
|
782
|
+
* Starting position for pagination
|
|
783
|
+
*/
|
|
784
|
+
offset?: number;
|
|
785
|
+
/**
|
|
786
|
+
* Retrieve a specific pathway by ID
|
|
787
|
+
*/
|
|
788
|
+
pathwayId?: string;
|
|
789
|
+
/**
|
|
790
|
+
* Filter by price/audit status
|
|
791
|
+
*/
|
|
792
|
+
price?: string;
|
|
793
|
+
/**
|
|
794
|
+
* Retrieve a specific program by ID
|
|
795
|
+
*/
|
|
796
|
+
programId?: string;
|
|
797
|
+
/**
|
|
798
|
+
* Filter by program type
|
|
799
|
+
*/
|
|
800
|
+
programType?: Array<string>;
|
|
801
|
+
/**
|
|
802
|
+
* Search term to filter content by name or description
|
|
803
|
+
*/
|
|
804
|
+
query?: string;
|
|
805
|
+
/**
|
|
806
|
+
* Retrieve a specific resource by ID
|
|
807
|
+
*/
|
|
808
|
+
resourceId?: string;
|
|
809
|
+
/**
|
|
810
|
+
* Filter by resource type
|
|
811
|
+
*/
|
|
812
|
+
resourceType?: Array<string>;
|
|
813
|
+
/**
|
|
814
|
+
* Retrieve a specific role by ID
|
|
815
|
+
*/
|
|
816
|
+
roleId?: string;
|
|
817
|
+
/**
|
|
818
|
+
* Filter by course format (self-paced, instructor-led)
|
|
819
|
+
*/
|
|
820
|
+
selfPaced?: Array<string>;
|
|
821
|
+
/**
|
|
822
|
+
* Retrieve a specific skill by ID
|
|
823
|
+
*/
|
|
824
|
+
skillId?: string;
|
|
825
|
+
/**
|
|
826
|
+
* Filter by skills
|
|
827
|
+
*/
|
|
828
|
+
skills?: Array<string>;
|
|
829
|
+
/**
|
|
830
|
+
* Filter by subject areas
|
|
831
|
+
*/
|
|
832
|
+
subject?: Array<string>;
|
|
833
|
+
/**
|
|
834
|
+
* Filter by tags
|
|
835
|
+
*/
|
|
836
|
+
tags?: Array<string>;
|
|
837
|
+
/**
|
|
838
|
+
* Filter by topic areas
|
|
839
|
+
*/
|
|
840
|
+
topics?: Array<string>;
|
|
841
|
+
}): CancelablePromise<RecommendedCoursesResponse>;
|
|
484
842
|
/**
|
|
485
843
|
* Determine whether to serve a detail view or a list view.
|
|
486
844
|
* If any detail-identifying parameters are present (course_id, program_id, etc.)
|
|
487
845
|
* the detail view is returned; otherwise the aggregated list view is returned.
|
|
488
|
-
* @param username
|
|
489
|
-
* @param allowSkillSearch Enable skill-based search
|
|
490
|
-
* @param alphabetical Sort alphabetically by name
|
|
491
|
-
* @param certificate Filter by certificate type
|
|
492
|
-
* @param content Content types to include in results
|
|
493
|
-
* @param courseId Retrieve a specific course by ID
|
|
494
|
-
* @param duration Filter by course duration range
|
|
495
|
-
* @param language Filter by content language
|
|
496
|
-
* @param level Filter by difficulty level
|
|
497
|
-
* @param limit Number of results per page
|
|
498
|
-
* @param offset Starting position for pagination
|
|
499
|
-
* @param orderAscending Sort direction
|
|
500
|
-
* @param orderBy Field to sort results by
|
|
501
|
-
* @param pathwayId Retrieve a specific pathway by ID
|
|
502
|
-
* @param price Filter by price/audit status
|
|
503
|
-
* @param programId Retrieve a specific program by ID
|
|
504
|
-
* @param programType Filter by program type
|
|
505
|
-
* @param promotion Filter by promotion status
|
|
506
|
-
* @param query Search term to filter content by name or description
|
|
507
|
-
* @param recommended Show only recommended content
|
|
508
|
-
* @param resourceId Retrieve a specific resource by ID
|
|
509
|
-
* @param resourceType Filter by resource type
|
|
510
|
-
* @param returnFacet Include facet data in response
|
|
511
|
-
* @param returnItems Include items in programs/pathways
|
|
512
|
-
* @param roleId Retrieve a specific role by ID
|
|
513
|
-
* @param selfPaced Filter by course format
|
|
514
|
-
* @param skillId Retrieve a specific skill by ID
|
|
515
|
-
* @param skills Filter by skills
|
|
516
|
-
* @param subject Filter by subject areas
|
|
517
|
-
* @param tags Filter by tags
|
|
518
|
-
* @param tenant Filter by tenant/organization
|
|
519
|
-
* @param topics Filter by topic areas
|
|
520
|
-
* @param updateFacet Force facet update
|
|
521
846
|
* @returns any
|
|
522
847
|
* @throws ApiError
|
|
523
848
|
*/
|
|
524
|
-
static searchPersonalizedCatalogRetrieve(username
|
|
849
|
+
static searchPersonalizedCatalogRetrieve({ username, allowSkillSearch, alphabetical, certificate, content, courseId, duration, language, level, limit, offset, orderAscending, orderBy, pathwayId, price, programId, programType, promotion, query, recommended, resourceId, resourceType, returnFacet, returnItems, roleId, selfPaced, skillId, skills, subject, tags, tenant, topics, updateFacet, }: {
|
|
850
|
+
username: string;
|
|
851
|
+
/**
|
|
852
|
+
* Enable skill-based search
|
|
853
|
+
*/
|
|
854
|
+
allowSkillSearch?: boolean;
|
|
855
|
+
/**
|
|
856
|
+
* Sort alphabetically by name
|
|
857
|
+
*/
|
|
858
|
+
alphabetical?: boolean;
|
|
859
|
+
/**
|
|
860
|
+
* Filter by certificate type
|
|
861
|
+
*/
|
|
862
|
+
certificate?: Array<string>;
|
|
863
|
+
/**
|
|
864
|
+
* Content types to include in results
|
|
865
|
+
*/
|
|
866
|
+
content?: Array<string>;
|
|
867
|
+
/**
|
|
868
|
+
* Retrieve a specific course by ID
|
|
869
|
+
*/
|
|
870
|
+
courseId?: string;
|
|
871
|
+
/**
|
|
872
|
+
* Filter by course duration range
|
|
873
|
+
*/
|
|
874
|
+
duration?: Array<string>;
|
|
875
|
+
/**
|
|
876
|
+
* Filter by content language
|
|
877
|
+
*/
|
|
878
|
+
language?: Array<string>;
|
|
879
|
+
/**
|
|
880
|
+
* Filter by difficulty level
|
|
881
|
+
*/
|
|
882
|
+
level?: Array<string>;
|
|
883
|
+
/**
|
|
884
|
+
* Number of results per page
|
|
885
|
+
*/
|
|
886
|
+
limit?: number;
|
|
887
|
+
/**
|
|
888
|
+
* Starting position for pagination
|
|
889
|
+
*/
|
|
890
|
+
offset?: number;
|
|
891
|
+
/**
|
|
892
|
+
* Sort direction
|
|
893
|
+
*/
|
|
894
|
+
orderAscending?: boolean;
|
|
895
|
+
/**
|
|
896
|
+
* Field to sort results by
|
|
897
|
+
*/
|
|
898
|
+
orderBy?: string;
|
|
899
|
+
/**
|
|
900
|
+
* Retrieve a specific pathway by ID
|
|
901
|
+
*/
|
|
902
|
+
pathwayId?: string;
|
|
903
|
+
/**
|
|
904
|
+
* Filter by price/audit status
|
|
905
|
+
*/
|
|
906
|
+
price?: string;
|
|
907
|
+
/**
|
|
908
|
+
* Retrieve a specific program by ID
|
|
909
|
+
*/
|
|
910
|
+
programId?: string;
|
|
911
|
+
/**
|
|
912
|
+
* Filter by program type
|
|
913
|
+
*/
|
|
914
|
+
programType?: Array<string>;
|
|
915
|
+
/**
|
|
916
|
+
* Filter by promotion status
|
|
917
|
+
*/
|
|
918
|
+
promotion?: Array<string>;
|
|
919
|
+
/**
|
|
920
|
+
* Search term to filter content by name or description
|
|
921
|
+
*/
|
|
922
|
+
query?: string;
|
|
923
|
+
/**
|
|
924
|
+
* Show only recommended content
|
|
925
|
+
*/
|
|
926
|
+
recommended?: boolean;
|
|
927
|
+
/**
|
|
928
|
+
* Retrieve a specific resource by ID
|
|
929
|
+
*/
|
|
930
|
+
resourceId?: string;
|
|
931
|
+
/**
|
|
932
|
+
* Filter by resource type
|
|
933
|
+
*/
|
|
934
|
+
resourceType?: Array<string>;
|
|
935
|
+
/**
|
|
936
|
+
* Include facet data in response
|
|
937
|
+
*/
|
|
938
|
+
returnFacet?: boolean;
|
|
939
|
+
/**
|
|
940
|
+
* Include items in programs/pathways
|
|
941
|
+
*/
|
|
942
|
+
returnItems?: boolean;
|
|
943
|
+
/**
|
|
944
|
+
* Retrieve a specific role by ID
|
|
945
|
+
*/
|
|
946
|
+
roleId?: string;
|
|
947
|
+
/**
|
|
948
|
+
* Filter by course format
|
|
949
|
+
*/
|
|
950
|
+
selfPaced?: Array<string>;
|
|
951
|
+
/**
|
|
952
|
+
* Retrieve a specific skill by ID
|
|
953
|
+
*/
|
|
954
|
+
skillId?: string;
|
|
955
|
+
/**
|
|
956
|
+
* Filter by skills
|
|
957
|
+
*/
|
|
958
|
+
skills?: Array<string>;
|
|
959
|
+
/**
|
|
960
|
+
* Filter by subject areas
|
|
961
|
+
*/
|
|
962
|
+
subject?: Array<string>;
|
|
963
|
+
/**
|
|
964
|
+
* Filter by tags
|
|
965
|
+
*/
|
|
966
|
+
tags?: Array<string>;
|
|
967
|
+
/**
|
|
968
|
+
* Filter by tenant/organization
|
|
969
|
+
*/
|
|
970
|
+
tenant?: Array<string>;
|
|
971
|
+
/**
|
|
972
|
+
* Filter by topic areas
|
|
973
|
+
*/
|
|
974
|
+
topics?: Array<string>;
|
|
975
|
+
/**
|
|
976
|
+
* Force facet update
|
|
977
|
+
*/
|
|
978
|
+
updateFacet?: string;
|
|
979
|
+
}): CancelablePromise<Record<string, any>>;
|
|
525
980
|
/**
|
|
526
981
|
* Search and filter AI prompts across the platform.
|
|
527
982
|
*
|
|
@@ -632,23 +1087,63 @@ export declare class SearchService {
|
|
|
632
1087
|
* Notes:
|
|
633
1088
|
* - Only publicly available prompts are returned by default
|
|
634
1089
|
* - When filtering by mentor, the mentor ID must be a valid UUID
|
|
635
|
-
* @param alphabetical Sort alphabetically
|
|
636
|
-
* @param category Filter by prompt category
|
|
637
|
-
* @param filterFacet If true, return only facets without results
|
|
638
|
-
* @param language Filter by prompt language
|
|
639
|
-
* @param limit Number of results per page
|
|
640
|
-
* @param mentor Filter by mentor UUID
|
|
641
|
-
* @param offset Starting position for pagination
|
|
642
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
643
|
-
* @param query Search term to filter prompts by name or content
|
|
644
|
-
* @param sortBy Field to sort results by
|
|
645
|
-
* @param style Filter by prompt style
|
|
646
|
-
* @param tenant Filter by tenant/organization
|
|
647
|
-
* @param tone Filter by prompt tone
|
|
648
1090
|
* @returns PromptSearchResponse
|
|
649
1091
|
* @throws ApiError
|
|
650
1092
|
*/
|
|
651
|
-
static searchPromptsRetrieve(alphabetical
|
|
1093
|
+
static searchPromptsRetrieve({ alphabetical, category, filterFacet, language, limit, mentor, offset, orderDirection, query, sortBy, style, tenant, tone, }: {
|
|
1094
|
+
/**
|
|
1095
|
+
* Sort alphabetically
|
|
1096
|
+
*/
|
|
1097
|
+
alphabetical?: boolean;
|
|
1098
|
+
/**
|
|
1099
|
+
* Filter by prompt category
|
|
1100
|
+
*/
|
|
1101
|
+
category?: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* If true, return only facets without results
|
|
1104
|
+
*/
|
|
1105
|
+
filterFacet?: boolean;
|
|
1106
|
+
/**
|
|
1107
|
+
* Filter by prompt language
|
|
1108
|
+
*/
|
|
1109
|
+
language?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* Number of results per page
|
|
1112
|
+
*/
|
|
1113
|
+
limit?: number;
|
|
1114
|
+
/**
|
|
1115
|
+
* Filter by mentor UUID
|
|
1116
|
+
*/
|
|
1117
|
+
mentor?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* Starting position for pagination
|
|
1120
|
+
*/
|
|
1121
|
+
offset?: number;
|
|
1122
|
+
/**
|
|
1123
|
+
* Sort direction ('asc' or 'desc')
|
|
1124
|
+
*/
|
|
1125
|
+
orderDirection?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Search term to filter prompts by name or content
|
|
1128
|
+
*/
|
|
1129
|
+
query?: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Field to sort results by
|
|
1132
|
+
*/
|
|
1133
|
+
sortBy?: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* Filter by prompt style
|
|
1136
|
+
*/
|
|
1137
|
+
style?: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* Filter by tenant/organization
|
|
1140
|
+
*/
|
|
1141
|
+
tenant?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* Filter by prompt tone
|
|
1144
|
+
*/
|
|
1145
|
+
tone?: string;
|
|
1146
|
+
}): CancelablePromise<PromptSearchResponse>;
|
|
652
1147
|
/**
|
|
653
1148
|
* Search and filter users within a specific organization/tenant.
|
|
654
1149
|
*
|
|
@@ -738,23 +1233,63 @@ export declare class SearchService {
|
|
|
738
1233
|
* - The requesting user must have an active account in the specified organization
|
|
739
1234
|
* - When department_mode is enabled, the user must be an admin of at least one department
|
|
740
1235
|
* - Department filtering restricts results to users in departments where the requesting user is an admin
|
|
741
|
-
* @param org
|
|
742
|
-
* @param username
|
|
743
|
-
* @param department Filter by department names
|
|
744
|
-
* @param educationDegree Filter by degree
|
|
745
|
-
* @param educationFieldOfStudy Filter by field of study
|
|
746
|
-
* @param educationInstitution Filter by institution
|
|
747
|
-
* @param includeMembershipData Include user group membership data in results
|
|
748
|
-
* @param limit Number of results per page
|
|
749
|
-
* @param offset Starting position for pagination
|
|
750
|
-
* @param q Search term to filter users by name, email, or other attributes
|
|
751
|
-
* @param userResumeCompany Filter by company
|
|
752
|
-
* @param userResumeIndustry Filter by industry
|
|
753
|
-
* @param userResumeJobTitle Filter by job title
|
|
754
|
-
* @param userResumeLocation Filter by location
|
|
755
|
-
* @param userResumeSkills Filter by skills
|
|
756
1236
|
* @returns UserSearchResponse
|
|
757
1237
|
* @throws ApiError
|
|
758
1238
|
*/
|
|
759
|
-
static searchUsersOrgsUsersRetrieve(org
|
|
1239
|
+
static searchUsersOrgsUsersRetrieve({ org, username, department, educationDegree, educationFieldOfStudy, educationInstitution, includeMembershipData, limit, offset, q, userResumeCompany, userResumeIndustry, userResumeJobTitle, userResumeLocation, userResumeSkills, }: {
|
|
1240
|
+
org: string;
|
|
1241
|
+
username: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* Filter by department names
|
|
1244
|
+
*/
|
|
1245
|
+
department?: Array<string>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Filter by degree
|
|
1248
|
+
*/
|
|
1249
|
+
educationDegree?: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* Filter by field of study
|
|
1252
|
+
*/
|
|
1253
|
+
educationFieldOfStudy?: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* Filter by institution
|
|
1256
|
+
*/
|
|
1257
|
+
educationInstitution?: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* Include user group membership data in results
|
|
1260
|
+
*/
|
|
1261
|
+
includeMembershipData?: boolean;
|
|
1262
|
+
/**
|
|
1263
|
+
* Number of results per page
|
|
1264
|
+
*/
|
|
1265
|
+
limit?: number;
|
|
1266
|
+
/**
|
|
1267
|
+
* Starting position for pagination
|
|
1268
|
+
*/
|
|
1269
|
+
offset?: number;
|
|
1270
|
+
/**
|
|
1271
|
+
* Search term to filter users by name, email, or other attributes
|
|
1272
|
+
*/
|
|
1273
|
+
q?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* Filter by company
|
|
1276
|
+
*/
|
|
1277
|
+
userResumeCompany?: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* Filter by industry
|
|
1280
|
+
*/
|
|
1281
|
+
userResumeIndustry?: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* Filter by job title
|
|
1284
|
+
*/
|
|
1285
|
+
userResumeJobTitle?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* Filter by location
|
|
1288
|
+
*/
|
|
1289
|
+
userResumeLocation?: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* Filter by skills
|
|
1292
|
+
*/
|
|
1293
|
+
userResumeSkills?: string;
|
|
1294
|
+
}): CancelablePromise<UserSearchResponse>;
|
|
760
1295
|
}
|