@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
|
@@ -14,43 +14,92 @@ import { request as __request } from '../core/request';
|
|
|
14
14
|
export class SearchService {
|
|
15
15
|
/**
|
|
16
16
|
* Legacy endpoint for backward compatible mentor search
|
|
17
|
-
* @param audience Filter by target audience
|
|
18
|
-
* @param category Filter by mentor category
|
|
19
|
-
* @param createdBy Filter mentors created by specific user
|
|
20
|
-
* @param filterFacet If present, return only facets without results
|
|
21
|
-
* @param id Retrieve a specific mentor by ID
|
|
22
|
-
* @param limit Number of results per page
|
|
23
|
-
* @param llm Filter by language model type
|
|
24
|
-
* @param offset Starting position for pagination
|
|
25
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
26
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
27
|
-
* @param page Page number (1-based, used with page_size)
|
|
28
|
-
* @param pageSize Number of results per page
|
|
29
|
-
* @param query Search term to filter mentors by name or description
|
|
30
|
-
* @param tags Filter by tags
|
|
31
|
-
* @param tenant Filter by tenant/organization
|
|
32
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
33
17
|
* @returns MentorSearchResponse
|
|
34
18
|
* @throws ApiError
|
|
35
19
|
*/
|
|
36
|
-
public static searchAiSearchRetrieve(
|
|
20
|
+
public static searchAiSearchRetrieve({
|
|
21
|
+
audience,
|
|
22
|
+
category,
|
|
23
|
+
createdBy,
|
|
24
|
+
filterFacet = false,
|
|
25
|
+
id,
|
|
26
|
+
limit = 12,
|
|
27
|
+
llm,
|
|
28
|
+
offset,
|
|
29
|
+
orderBy,
|
|
30
|
+
orderDirection = 'desc',
|
|
31
|
+
page,
|
|
32
|
+
pageSize,
|
|
33
|
+
query,
|
|
34
|
+
tags,
|
|
35
|
+
tenant,
|
|
36
|
+
uniqueId,
|
|
37
|
+
}: {
|
|
38
|
+
/**
|
|
39
|
+
* Filter by target audience
|
|
40
|
+
*/
|
|
37
41
|
audience?: Array<string>,
|
|
42
|
+
/**
|
|
43
|
+
* Filter by mentor category
|
|
44
|
+
*/
|
|
38
45
|
category?: Array<string>,
|
|
46
|
+
/**
|
|
47
|
+
* Filter mentors created by specific user
|
|
48
|
+
*/
|
|
39
49
|
createdBy?: string,
|
|
40
|
-
|
|
50
|
+
/**
|
|
51
|
+
* If present, return only facets without results
|
|
52
|
+
*/
|
|
53
|
+
filterFacet?: boolean,
|
|
54
|
+
/**
|
|
55
|
+
* Retrieve a specific mentor by ID
|
|
56
|
+
*/
|
|
41
57
|
id?: number,
|
|
42
|
-
|
|
58
|
+
/**
|
|
59
|
+
* Number of results per page
|
|
60
|
+
*/
|
|
61
|
+
limit?: number,
|
|
62
|
+
/**
|
|
63
|
+
* Filter by language model type
|
|
64
|
+
*/
|
|
43
65
|
llm?: Array<string>,
|
|
66
|
+
/**
|
|
67
|
+
* Starting position for pagination
|
|
68
|
+
*/
|
|
44
69
|
offset?: number,
|
|
70
|
+
/**
|
|
71
|
+
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
72
|
+
*/
|
|
45
73
|
orderBy?: string,
|
|
46
|
-
|
|
74
|
+
/**
|
|
75
|
+
* Sort direction ('asc' or 'desc')
|
|
76
|
+
*/
|
|
77
|
+
orderDirection?: string,
|
|
78
|
+
/**
|
|
79
|
+
* Page number (1-based, used with page_size)
|
|
80
|
+
*/
|
|
47
81
|
page?: number,
|
|
82
|
+
/**
|
|
83
|
+
* Number of results per page
|
|
84
|
+
*/
|
|
48
85
|
pageSize?: number,
|
|
86
|
+
/**
|
|
87
|
+
* Search term to filter mentors by name or description
|
|
88
|
+
*/
|
|
49
89
|
query?: string,
|
|
90
|
+
/**
|
|
91
|
+
* Filter by tags
|
|
92
|
+
*/
|
|
50
93
|
tags?: Array<string>,
|
|
94
|
+
/**
|
|
95
|
+
* Filter by tenant/organization
|
|
96
|
+
*/
|
|
51
97
|
tenant?: string,
|
|
98
|
+
/**
|
|
99
|
+
* Retrieve a specific mentor by UUID
|
|
100
|
+
*/
|
|
52
101
|
uniqueId?: string,
|
|
53
|
-
): CancelablePromise<MentorSearchResponse> {
|
|
102
|
+
}): CancelablePromise<MentorSearchResponse> {
|
|
54
103
|
return __request(OpenAPI, {
|
|
55
104
|
method: 'GET',
|
|
56
105
|
url: '/api/search/ai-search/',
|
|
@@ -243,69 +292,157 @@ export class SearchService {
|
|
|
243
292
|
* - Results are cached for performance
|
|
244
293
|
* - The 'resources' content type is only included by default if IBL_ENABLE_RESOURCES_IN_FACET is true
|
|
245
294
|
* - For debugging, add ?debug=true to see detailed information about skill matching
|
|
246
|
-
* @param allowSkillSearch Enable skill-based search
|
|
247
|
-
* @param alphabetical Sort alphabetically by name
|
|
248
|
-
* @param certificate Filter by certificate type
|
|
249
|
-
* @param content Content types to include in results
|
|
250
|
-
* @param courseId Filter by specific course ID
|
|
251
|
-
* @param duration Filter by course duration range
|
|
252
|
-
* @param language Filter by content language
|
|
253
|
-
* @param level Filter by difficulty level
|
|
254
|
-
* @param limit Number of results per page
|
|
255
|
-
* @param offset Starting position for pagination
|
|
256
|
-
* @param orderAscending Sort direction
|
|
257
|
-
* @param orderBy Field to sort results by
|
|
258
|
-
* @param pathwayId Filter by specific pathway ID
|
|
259
|
-
* @param price Filter by price/audit status
|
|
260
|
-
* @param programId Filter by specific program ID
|
|
261
|
-
* @param programType Filter by program type
|
|
262
|
-
* @param promotion Filter by promotion status
|
|
263
|
-
* @param query Search term to filter content by name or description
|
|
264
|
-
* @param resourceType Filter by resource type
|
|
265
|
-
* @param returnFacet Include facet data in response
|
|
266
|
-
* @param returnItems Include items in programs/pathways
|
|
267
|
-
* @param selfPaced Filter by course format
|
|
268
|
-
* @param skillId Filter by specific skill ID
|
|
269
|
-
* @param skills Filter by skills
|
|
270
|
-
* @param subject Filter by subject areas
|
|
271
|
-
* @param tags Filter by tags
|
|
272
|
-
* @param tenant Filter by tenant/organization
|
|
273
|
-
* @param topics Filter by topic areas
|
|
274
|
-
* @param updateFacet Force facet update
|
|
275
295
|
* @returns GlobalCatalogSearchResponse
|
|
276
296
|
* @throws ApiError
|
|
277
297
|
*/
|
|
278
|
-
public static searchCatalogRetrieve(
|
|
279
|
-
allowSkillSearch
|
|
280
|
-
alphabetical
|
|
298
|
+
public static searchCatalogRetrieve({
|
|
299
|
+
allowSkillSearch = false,
|
|
300
|
+
alphabetical = false,
|
|
301
|
+
certificate,
|
|
302
|
+
content,
|
|
303
|
+
courseId,
|
|
304
|
+
duration,
|
|
305
|
+
language,
|
|
306
|
+
level,
|
|
307
|
+
limit = 12,
|
|
308
|
+
offset,
|
|
309
|
+
orderAscending = false,
|
|
310
|
+
orderBy,
|
|
311
|
+
pathwayId,
|
|
312
|
+
price,
|
|
313
|
+
programId,
|
|
314
|
+
programType,
|
|
315
|
+
promotion,
|
|
316
|
+
query,
|
|
317
|
+
resourceType,
|
|
318
|
+
returnFacet = true,
|
|
319
|
+
returnItems = false,
|
|
320
|
+
selfPaced,
|
|
321
|
+
skillId,
|
|
322
|
+
skills,
|
|
323
|
+
subject,
|
|
324
|
+
tags,
|
|
325
|
+
tenant,
|
|
326
|
+
topics,
|
|
327
|
+
updateFacet,
|
|
328
|
+
}: {
|
|
329
|
+
/**
|
|
330
|
+
* Enable skill-based search
|
|
331
|
+
*/
|
|
332
|
+
allowSkillSearch?: boolean,
|
|
333
|
+
/**
|
|
334
|
+
* Sort alphabetically by name
|
|
335
|
+
*/
|
|
336
|
+
alphabetical?: boolean,
|
|
337
|
+
/**
|
|
338
|
+
* Filter by certificate type
|
|
339
|
+
*/
|
|
281
340
|
certificate?: Array<string>,
|
|
341
|
+
/**
|
|
342
|
+
* Content types to include in results
|
|
343
|
+
*/
|
|
282
344
|
content?: Array<string>,
|
|
345
|
+
/**
|
|
346
|
+
* Filter by specific course ID
|
|
347
|
+
*/
|
|
283
348
|
courseId?: string,
|
|
349
|
+
/**
|
|
350
|
+
* Filter by course duration range
|
|
351
|
+
*/
|
|
284
352
|
duration?: Array<string>,
|
|
353
|
+
/**
|
|
354
|
+
* Filter by content language
|
|
355
|
+
*/
|
|
285
356
|
language?: Array<string>,
|
|
357
|
+
/**
|
|
358
|
+
* Filter by difficulty level
|
|
359
|
+
*/
|
|
286
360
|
level?: Array<string>,
|
|
287
|
-
|
|
361
|
+
/**
|
|
362
|
+
* Number of results per page
|
|
363
|
+
*/
|
|
364
|
+
limit?: number,
|
|
365
|
+
/**
|
|
366
|
+
* Starting position for pagination
|
|
367
|
+
*/
|
|
288
368
|
offset?: number,
|
|
289
|
-
|
|
369
|
+
/**
|
|
370
|
+
* Sort direction
|
|
371
|
+
*/
|
|
372
|
+
orderAscending?: boolean,
|
|
373
|
+
/**
|
|
374
|
+
* Field to sort results by
|
|
375
|
+
*/
|
|
290
376
|
orderBy?: string,
|
|
377
|
+
/**
|
|
378
|
+
* Filter by specific pathway ID
|
|
379
|
+
*/
|
|
291
380
|
pathwayId?: string,
|
|
381
|
+
/**
|
|
382
|
+
* Filter by price/audit status
|
|
383
|
+
*/
|
|
292
384
|
price?: string,
|
|
385
|
+
/**
|
|
386
|
+
* Filter by specific program ID
|
|
387
|
+
*/
|
|
293
388
|
programId?: string,
|
|
389
|
+
/**
|
|
390
|
+
* Filter by program type
|
|
391
|
+
*/
|
|
294
392
|
programType?: Array<string>,
|
|
393
|
+
/**
|
|
394
|
+
* Filter by promotion status
|
|
395
|
+
*/
|
|
295
396
|
promotion?: Array<string>,
|
|
397
|
+
/**
|
|
398
|
+
* Search term to filter content by name or description
|
|
399
|
+
*/
|
|
296
400
|
query?: string,
|
|
401
|
+
/**
|
|
402
|
+
* Filter by resource type
|
|
403
|
+
*/
|
|
297
404
|
resourceType?: Array<string>,
|
|
298
|
-
|
|
299
|
-
|
|
405
|
+
/**
|
|
406
|
+
* Include facet data in response
|
|
407
|
+
*/
|
|
408
|
+
returnFacet?: boolean,
|
|
409
|
+
/**
|
|
410
|
+
* Include items in programs/pathways
|
|
411
|
+
*/
|
|
412
|
+
returnItems?: boolean,
|
|
413
|
+
/**
|
|
414
|
+
* Filter by course format
|
|
415
|
+
*/
|
|
300
416
|
selfPaced?: Array<string>,
|
|
417
|
+
/**
|
|
418
|
+
* Filter by specific skill ID
|
|
419
|
+
*/
|
|
301
420
|
skillId?: string,
|
|
421
|
+
/**
|
|
422
|
+
* Filter by skills
|
|
423
|
+
*/
|
|
302
424
|
skills?: Array<string>,
|
|
425
|
+
/**
|
|
426
|
+
* Filter by subject areas
|
|
427
|
+
*/
|
|
303
428
|
subject?: Array<string>,
|
|
429
|
+
/**
|
|
430
|
+
* Filter by tags
|
|
431
|
+
*/
|
|
304
432
|
tags?: Array<string>,
|
|
433
|
+
/**
|
|
434
|
+
* Filter by tenant/organization
|
|
435
|
+
*/
|
|
305
436
|
tenant?: Array<string>,
|
|
437
|
+
/**
|
|
438
|
+
* Filter by topic areas
|
|
439
|
+
*/
|
|
306
440
|
topics?: Array<string>,
|
|
441
|
+
/**
|
|
442
|
+
* Force facet update
|
|
443
|
+
*/
|
|
307
444
|
updateFacet?: string,
|
|
308
|
-
): CancelablePromise<GlobalCatalogSearchResponse> {
|
|
445
|
+
}): CancelablePromise<GlobalCatalogSearchResponse> {
|
|
309
446
|
return __request(OpenAPI, {
|
|
310
447
|
method: 'GET',
|
|
311
448
|
url: '/api/search/catalog/',
|
|
@@ -458,39 +595,82 @@ export class SearchService {
|
|
|
458
595
|
* - Results are cached for performance
|
|
459
596
|
* - Public mentors are visible to all users
|
|
460
597
|
* - Private mentors are only visible to authorized users
|
|
461
|
-
* @param audience Filter by target audience
|
|
462
|
-
* @param category Filter by mentor category
|
|
463
|
-
* @param createdBy Filter mentors created by specific user
|
|
464
|
-
* @param featured Filter by featured status
|
|
465
|
-
* @param id Retrieve a specific mentor by ID
|
|
466
|
-
* @param limit Number of results per page
|
|
467
|
-
* @param llm Filter by language model type
|
|
468
|
-
* @param offset Starting position for pagination
|
|
469
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
470
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
471
|
-
* @param query Search term to filter mentors by name or description
|
|
472
|
-
* @param tags Filter by tags
|
|
473
|
-
* @param tenant Filter by tenant/organization
|
|
474
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
475
598
|
* @returns MentorSearchResponse
|
|
476
599
|
* @throws ApiError
|
|
477
600
|
*/
|
|
478
|
-
public static searchMentorsRetrieve(
|
|
601
|
+
public static searchMentorsRetrieve({
|
|
602
|
+
audience,
|
|
603
|
+
category,
|
|
604
|
+
createdBy,
|
|
605
|
+
featured,
|
|
606
|
+
id,
|
|
607
|
+
limit = 12,
|
|
608
|
+
llm,
|
|
609
|
+
offset,
|
|
610
|
+
orderBy,
|
|
611
|
+
orderDirection = 'desc',
|
|
612
|
+
query,
|
|
613
|
+
tags,
|
|
614
|
+
tenant,
|
|
615
|
+
uniqueId,
|
|
616
|
+
}: {
|
|
617
|
+
/**
|
|
618
|
+
* Filter by target audience
|
|
619
|
+
*/
|
|
479
620
|
audience?: Array<string>,
|
|
621
|
+
/**
|
|
622
|
+
* Filter by mentor category
|
|
623
|
+
*/
|
|
480
624
|
category?: Array<string>,
|
|
625
|
+
/**
|
|
626
|
+
* Filter mentors created by specific user
|
|
627
|
+
*/
|
|
481
628
|
createdBy?: string,
|
|
629
|
+
/**
|
|
630
|
+
* Filter by featured status
|
|
631
|
+
*/
|
|
482
632
|
featured?: boolean,
|
|
633
|
+
/**
|
|
634
|
+
* Retrieve a specific mentor by ID
|
|
635
|
+
*/
|
|
483
636
|
id?: number,
|
|
484
|
-
|
|
637
|
+
/**
|
|
638
|
+
* Number of results per page
|
|
639
|
+
*/
|
|
640
|
+
limit?: number,
|
|
641
|
+
/**
|
|
642
|
+
* Filter by language model type
|
|
643
|
+
*/
|
|
485
644
|
llm?: Array<string>,
|
|
645
|
+
/**
|
|
646
|
+
* Starting position for pagination
|
|
647
|
+
*/
|
|
486
648
|
offset?: number,
|
|
649
|
+
/**
|
|
650
|
+
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
651
|
+
*/
|
|
487
652
|
orderBy?: string,
|
|
488
|
-
|
|
653
|
+
/**
|
|
654
|
+
* Sort direction ('asc' or 'desc')
|
|
655
|
+
*/
|
|
656
|
+
orderDirection?: string,
|
|
657
|
+
/**
|
|
658
|
+
* Search term to filter mentors by name or description
|
|
659
|
+
*/
|
|
489
660
|
query?: string,
|
|
661
|
+
/**
|
|
662
|
+
* Filter by tags
|
|
663
|
+
*/
|
|
490
664
|
tags?: Array<string>,
|
|
665
|
+
/**
|
|
666
|
+
* Filter by tenant/organization
|
|
667
|
+
*/
|
|
491
668
|
tenant?: string,
|
|
669
|
+
/**
|
|
670
|
+
* Retrieve a specific mentor by UUID
|
|
671
|
+
*/
|
|
492
672
|
uniqueId?: string,
|
|
493
|
-
): CancelablePromise<MentorSearchResponse> {
|
|
673
|
+
}): CancelablePromise<MentorSearchResponse> {
|
|
494
674
|
return __request(OpenAPI, {
|
|
495
675
|
method: 'GET',
|
|
496
676
|
url: '/api/search/mentors/',
|
|
@@ -518,31 +698,59 @@ export class SearchService {
|
|
|
518
698
|
}
|
|
519
699
|
/**
|
|
520
700
|
* Search and filter documents associated with a specific mentor
|
|
521
|
-
* @param mentorUniqueId
|
|
522
|
-
* @param access Filter by access level (e.g., 'public', 'private')
|
|
523
|
-
* @param documentType Filter by document type (e.g., 'pdf', 'text')
|
|
524
|
-
* @param limit Number of results per page
|
|
525
|
-
* @param offset Starting position for pagination
|
|
526
|
-
* @param orderBy Field to sort results by ('date_created', 'last_modified', 'document_name')
|
|
527
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
528
|
-
* @param platformKey Filter by platform key
|
|
529
|
-
* @param query Search term to filter documents by name or content
|
|
530
|
-
* @param trainingStatus Filter by training status (e.g., 'trained', 'pending')
|
|
531
701
|
* @returns DocumentSearchResponse
|
|
532
702
|
* @throws ApiError
|
|
533
703
|
*/
|
|
534
|
-
public static searchMentorsDocumentsRetrieve(
|
|
704
|
+
public static searchMentorsDocumentsRetrieve({
|
|
705
|
+
mentorUniqueId,
|
|
706
|
+
access,
|
|
707
|
+
documentType,
|
|
708
|
+
limit = 12,
|
|
709
|
+
offset,
|
|
710
|
+
orderBy,
|
|
711
|
+
orderDirection = 'desc',
|
|
712
|
+
platformKey,
|
|
713
|
+
query,
|
|
714
|
+
trainingStatus,
|
|
715
|
+
}: {
|
|
535
716
|
mentorUniqueId: string,
|
|
717
|
+
/**
|
|
718
|
+
* Filter by access level (e.g., 'public', 'private')
|
|
719
|
+
*/
|
|
536
720
|
access?: string,
|
|
721
|
+
/**
|
|
722
|
+
* Filter by document type (e.g., 'pdf', 'text')
|
|
723
|
+
*/
|
|
537
724
|
documentType?: string,
|
|
538
|
-
|
|
725
|
+
/**
|
|
726
|
+
* Number of results per page
|
|
727
|
+
*/
|
|
728
|
+
limit?: number,
|
|
729
|
+
/**
|
|
730
|
+
* Starting position for pagination
|
|
731
|
+
*/
|
|
539
732
|
offset?: number,
|
|
733
|
+
/**
|
|
734
|
+
* Field to sort results by ('date_created', 'last_modified', 'document_name')
|
|
735
|
+
*/
|
|
540
736
|
orderBy?: string,
|
|
541
|
-
|
|
737
|
+
/**
|
|
738
|
+
* Sort direction ('asc' or 'desc')
|
|
739
|
+
*/
|
|
740
|
+
orderDirection?: string,
|
|
741
|
+
/**
|
|
742
|
+
* Filter by platform key
|
|
743
|
+
*/
|
|
542
744
|
platformKey?: string,
|
|
745
|
+
/**
|
|
746
|
+
* Search term to filter documents by name or content
|
|
747
|
+
*/
|
|
543
748
|
query?: string,
|
|
749
|
+
/**
|
|
750
|
+
* Filter by training status (e.g., 'trained', 'pending')
|
|
751
|
+
*/
|
|
544
752
|
trainingStatus?: string,
|
|
545
|
-
): CancelablePromise<DocumentSearchResponse> {
|
|
753
|
+
}): CancelablePromise<DocumentSearchResponse> {
|
|
546
754
|
return __request(OpenAPI, {
|
|
547
755
|
method: 'GET',
|
|
548
756
|
url: '/api/search/mentors/{mentor_unique_id}/documents/',
|
|
@@ -577,43 +785,86 @@ export class SearchService {
|
|
|
577
785
|
*
|
|
578
786
|
* Returns:
|
|
579
787
|
* Response: DRF Response object with search results
|
|
580
|
-
* @param org
|
|
581
|
-
* @param username
|
|
582
|
-
* @param audience Filter by target audience
|
|
583
|
-
* @param category Filter by mentor category
|
|
584
|
-
* @param createdBy Filter mentors created by specific user
|
|
585
|
-
* @param featured Filter by featured status
|
|
586
|
-
* @param id Retrieve a specific mentor by ID
|
|
587
|
-
* @param limit Number of results per page
|
|
588
|
-
* @param llm Filter by language model type
|
|
589
|
-
* @param offset Starting position for pagination
|
|
590
|
-
* @param orderBy Field to sort results by ('created_at', 'recently_accessed_at')
|
|
591
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
592
|
-
* @param query Search term to filter mentors by name or description
|
|
593
|
-
* @param tags Filter by tags
|
|
594
|
-
* @param tenant Filter by tenant/organization
|
|
595
|
-
* @param uniqueId Retrieve a specific mentor by UUID
|
|
596
788
|
* @returns MentorSearchResponse
|
|
597
789
|
* @throws ApiError
|
|
598
790
|
*/
|
|
599
|
-
public static searchOrgsUsersMentorsRetrieve(
|
|
791
|
+
public static searchOrgsUsersMentorsRetrieve({
|
|
792
|
+
org,
|
|
793
|
+
username,
|
|
794
|
+
audience,
|
|
795
|
+
category,
|
|
796
|
+
createdBy,
|
|
797
|
+
featured,
|
|
798
|
+
id,
|
|
799
|
+
limit = 12,
|
|
800
|
+
llm,
|
|
801
|
+
offset,
|
|
802
|
+
orderBy,
|
|
803
|
+
orderDirection = 'desc',
|
|
804
|
+
query,
|
|
805
|
+
tags,
|
|
806
|
+
tenant,
|
|
807
|
+
uniqueId,
|
|
808
|
+
}: {
|
|
600
809
|
org: string,
|
|
601
810
|
username: string,
|
|
811
|
+
/**
|
|
812
|
+
* Filter by target audience
|
|
813
|
+
*/
|
|
602
814
|
audience?: Array<string>,
|
|
815
|
+
/**
|
|
816
|
+
* Filter by mentor category
|
|
817
|
+
*/
|
|
603
818
|
category?: Array<string>,
|
|
819
|
+
/**
|
|
820
|
+
* Filter mentors created by specific user
|
|
821
|
+
*/
|
|
604
822
|
createdBy?: string,
|
|
823
|
+
/**
|
|
824
|
+
* Filter by featured status
|
|
825
|
+
*/
|
|
605
826
|
featured?: boolean,
|
|
827
|
+
/**
|
|
828
|
+
* Retrieve a specific mentor by ID
|
|
829
|
+
*/
|
|
606
830
|
id?: number,
|
|
607
|
-
|
|
831
|
+
/**
|
|
832
|
+
* Number of results per page
|
|
833
|
+
*/
|
|
834
|
+
limit?: number,
|
|
835
|
+
/**
|
|
836
|
+
* Filter by language model type
|
|
837
|
+
*/
|
|
608
838
|
llm?: Array<string>,
|
|
839
|
+
/**
|
|
840
|
+
* Starting position for pagination
|
|
841
|
+
*/
|
|
609
842
|
offset?: number,
|
|
843
|
+
/**
|
|
844
|
+
* Field to sort results by ('created_at', 'recently_accessed_at')
|
|
845
|
+
*/
|
|
610
846
|
orderBy?: string,
|
|
611
|
-
|
|
847
|
+
/**
|
|
848
|
+
* Sort direction ('asc' or 'desc')
|
|
849
|
+
*/
|
|
850
|
+
orderDirection?: string,
|
|
851
|
+
/**
|
|
852
|
+
* Search term to filter mentors by name or description
|
|
853
|
+
*/
|
|
612
854
|
query?: string,
|
|
855
|
+
/**
|
|
856
|
+
* Filter by tags
|
|
857
|
+
*/
|
|
613
858
|
tags?: Array<string>,
|
|
859
|
+
/**
|
|
860
|
+
* Filter by tenant/organization
|
|
861
|
+
*/
|
|
614
862
|
tenant?: string,
|
|
863
|
+
/**
|
|
864
|
+
* Retrieve a specific mentor by UUID
|
|
865
|
+
*/
|
|
615
866
|
uniqueId?: string,
|
|
616
|
-
): CancelablePromise<MentorSearchResponse> {
|
|
867
|
+
}): CancelablePromise<MentorSearchResponse> {
|
|
617
868
|
return __request(OpenAPI, {
|
|
618
869
|
method: 'GET',
|
|
619
870
|
url: '/api/search/orgs/{org}/users/{username}/mentors/',
|
|
@@ -673,41 +924,81 @@ export class SearchService {
|
|
|
673
924
|
* Access Control:
|
|
674
925
|
* - Results are filtered based on user's permissions within the organization
|
|
675
926
|
* - Private prompts are only visible to authorized users
|
|
676
|
-
* @param org
|
|
677
|
-
* @param username
|
|
678
|
-
* @param alphabetical Sort alphabetically
|
|
679
|
-
* @param category Filter by prompt category
|
|
680
|
-
* @param filterFacet If true, return only facets without results
|
|
681
|
-
* @param language Filter by prompt language
|
|
682
|
-
* @param limit Number of results per page
|
|
683
|
-
* @param mentor Filter by mentor UUID
|
|
684
|
-
* @param offset Starting position for pagination
|
|
685
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
686
|
-
* @param query Search term to filter prompts by name or content
|
|
687
|
-
* @param sortBy Field to sort results by
|
|
688
|
-
* @param style Filter by prompt style
|
|
689
|
-
* @param tenant Filter by tenant/organization
|
|
690
|
-
* @param tone Filter by prompt tone
|
|
691
927
|
* @returns PromptSearchResponse
|
|
692
928
|
* @throws ApiError
|
|
693
929
|
*/
|
|
694
|
-
public static searchOrgsUsersPromptsRetrieve(
|
|
930
|
+
public static searchOrgsUsersPromptsRetrieve({
|
|
931
|
+
org,
|
|
932
|
+
username,
|
|
933
|
+
alphabetical = false,
|
|
934
|
+
category,
|
|
935
|
+
filterFacet,
|
|
936
|
+
language,
|
|
937
|
+
limit = 10,
|
|
938
|
+
mentor,
|
|
939
|
+
offset,
|
|
940
|
+
orderDirection = 'desc',
|
|
941
|
+
query,
|
|
942
|
+
sortBy,
|
|
943
|
+
style,
|
|
944
|
+
tenant,
|
|
945
|
+
tone,
|
|
946
|
+
}: {
|
|
695
947
|
org: string,
|
|
696
948
|
username: string,
|
|
697
|
-
|
|
949
|
+
/**
|
|
950
|
+
* Sort alphabetically
|
|
951
|
+
*/
|
|
952
|
+
alphabetical?: boolean,
|
|
953
|
+
/**
|
|
954
|
+
* Filter by prompt category
|
|
955
|
+
*/
|
|
698
956
|
category?: string,
|
|
957
|
+
/**
|
|
958
|
+
* If true, return only facets without results
|
|
959
|
+
*/
|
|
699
960
|
filterFacet?: boolean,
|
|
961
|
+
/**
|
|
962
|
+
* Filter by prompt language
|
|
963
|
+
*/
|
|
700
964
|
language?: string,
|
|
701
|
-
|
|
965
|
+
/**
|
|
966
|
+
* Number of results per page
|
|
967
|
+
*/
|
|
968
|
+
limit?: number,
|
|
969
|
+
/**
|
|
970
|
+
* Filter by mentor UUID
|
|
971
|
+
*/
|
|
702
972
|
mentor?: string,
|
|
973
|
+
/**
|
|
974
|
+
* Starting position for pagination
|
|
975
|
+
*/
|
|
703
976
|
offset?: number,
|
|
704
|
-
|
|
977
|
+
/**
|
|
978
|
+
* Sort direction ('asc' or 'desc')
|
|
979
|
+
*/
|
|
980
|
+
orderDirection?: string,
|
|
981
|
+
/**
|
|
982
|
+
* Search term to filter prompts by name or content
|
|
983
|
+
*/
|
|
705
984
|
query?: string,
|
|
985
|
+
/**
|
|
986
|
+
* Field to sort results by
|
|
987
|
+
*/
|
|
706
988
|
sortBy?: string,
|
|
989
|
+
/**
|
|
990
|
+
* Filter by prompt style
|
|
991
|
+
*/
|
|
707
992
|
style?: string,
|
|
993
|
+
/**
|
|
994
|
+
* Filter by tenant/organization
|
|
995
|
+
*/
|
|
708
996
|
tenant?: string,
|
|
997
|
+
/**
|
|
998
|
+
* Filter by prompt tone
|
|
999
|
+
*/
|
|
709
1000
|
tone?: string,
|
|
710
|
-
): CancelablePromise<PromptSearchResponse> {
|
|
1001
|
+
}): CancelablePromise<PromptSearchResponse> {
|
|
711
1002
|
return __request(OpenAPI, {
|
|
712
1003
|
method: 'GET',
|
|
713
1004
|
url: '/api/search/orgs/{org}/users/{username}/prompts/',
|
|
@@ -740,59 +1031,126 @@ export class SearchService {
|
|
|
740
1031
|
}
|
|
741
1032
|
/**
|
|
742
1033
|
* Determine whether to serve a detail view or a list view.
|
|
743
|
-
* @param org
|
|
744
|
-
* @param username
|
|
745
|
-
* @param certificate Filter by certificate type
|
|
746
|
-
* @param content Content types to include in recommendations (courses, programs, pathways, skills, roles, resources)
|
|
747
|
-
* @param courseId Retrieve a specific course by ID
|
|
748
|
-
* @param duration Filter by course duration range
|
|
749
|
-
* @param language Filter by content language
|
|
750
|
-
* @param level Filter by difficulty level
|
|
751
|
-
* @param limit Number of results per page
|
|
752
|
-
* @param offset Starting position for pagination
|
|
753
|
-
* @param pathwayId Retrieve a specific pathway by ID
|
|
754
|
-
* @param price Filter by price/audit status
|
|
755
|
-
* @param programId Retrieve a specific program by ID
|
|
756
|
-
* @param programType Filter by program type
|
|
757
|
-
* @param query Search term to filter content by name or description
|
|
758
|
-
* @param resourceId Retrieve a specific resource by ID
|
|
759
|
-
* @param resourceType Filter by resource type
|
|
760
|
-
* @param roleId Retrieve a specific role by ID
|
|
761
|
-
* @param selfPaced Filter by course format (self-paced, instructor-led)
|
|
762
|
-
* @param skillId Retrieve a specific skill by ID
|
|
763
|
-
* @param skills Filter by skills
|
|
764
|
-
* @param subject Filter by subject areas
|
|
765
|
-
* @param tags Filter by tags
|
|
766
|
-
* @param topics Filter by topic areas
|
|
767
1034
|
* @returns RecommendedCoursesResponse
|
|
768
1035
|
* @throws ApiError
|
|
769
1036
|
*/
|
|
770
|
-
public static searchOrgsUsersRecommendedRetrieve(
|
|
1037
|
+
public static searchOrgsUsersRecommendedRetrieve({
|
|
1038
|
+
org,
|
|
1039
|
+
username,
|
|
1040
|
+
certificate,
|
|
1041
|
+
content,
|
|
1042
|
+
courseId,
|
|
1043
|
+
duration,
|
|
1044
|
+
language,
|
|
1045
|
+
level,
|
|
1046
|
+
limit = 12,
|
|
1047
|
+
offset,
|
|
1048
|
+
pathwayId,
|
|
1049
|
+
price,
|
|
1050
|
+
programId,
|
|
1051
|
+
programType,
|
|
1052
|
+
query,
|
|
1053
|
+
resourceId,
|
|
1054
|
+
resourceType,
|
|
1055
|
+
roleId,
|
|
1056
|
+
selfPaced,
|
|
1057
|
+
skillId,
|
|
1058
|
+
skills,
|
|
1059
|
+
subject,
|
|
1060
|
+
tags,
|
|
1061
|
+
topics,
|
|
1062
|
+
}: {
|
|
771
1063
|
org: string,
|
|
772
1064
|
username: string,
|
|
1065
|
+
/**
|
|
1066
|
+
* Filter by certificate type
|
|
1067
|
+
*/
|
|
773
1068
|
certificate?: Array<string>,
|
|
1069
|
+
/**
|
|
1070
|
+
* Content types to include in recommendations (courses, programs, pathways, skills, roles, resources)
|
|
1071
|
+
*/
|
|
774
1072
|
content?: Array<string>,
|
|
1073
|
+
/**
|
|
1074
|
+
* Retrieve a specific course by ID
|
|
1075
|
+
*/
|
|
775
1076
|
courseId?: string,
|
|
1077
|
+
/**
|
|
1078
|
+
* Filter by course duration range
|
|
1079
|
+
*/
|
|
776
1080
|
duration?: Array<string>,
|
|
1081
|
+
/**
|
|
1082
|
+
* Filter by content language
|
|
1083
|
+
*/
|
|
777
1084
|
language?: Array<string>,
|
|
1085
|
+
/**
|
|
1086
|
+
* Filter by difficulty level
|
|
1087
|
+
*/
|
|
778
1088
|
level?: Array<string>,
|
|
779
|
-
|
|
1089
|
+
/**
|
|
1090
|
+
* Number of results per page
|
|
1091
|
+
*/
|
|
1092
|
+
limit?: number,
|
|
1093
|
+
/**
|
|
1094
|
+
* Starting position for pagination
|
|
1095
|
+
*/
|
|
780
1096
|
offset?: number,
|
|
1097
|
+
/**
|
|
1098
|
+
* Retrieve a specific pathway by ID
|
|
1099
|
+
*/
|
|
781
1100
|
pathwayId?: string,
|
|
1101
|
+
/**
|
|
1102
|
+
* Filter by price/audit status
|
|
1103
|
+
*/
|
|
782
1104
|
price?: string,
|
|
1105
|
+
/**
|
|
1106
|
+
* Retrieve a specific program by ID
|
|
1107
|
+
*/
|
|
783
1108
|
programId?: string,
|
|
1109
|
+
/**
|
|
1110
|
+
* Filter by program type
|
|
1111
|
+
*/
|
|
784
1112
|
programType?: Array<string>,
|
|
1113
|
+
/**
|
|
1114
|
+
* Search term to filter content by name or description
|
|
1115
|
+
*/
|
|
785
1116
|
query?: string,
|
|
1117
|
+
/**
|
|
1118
|
+
* Retrieve a specific resource by ID
|
|
1119
|
+
*/
|
|
786
1120
|
resourceId?: string,
|
|
1121
|
+
/**
|
|
1122
|
+
* Filter by resource type
|
|
1123
|
+
*/
|
|
787
1124
|
resourceType?: Array<string>,
|
|
1125
|
+
/**
|
|
1126
|
+
* Retrieve a specific role by ID
|
|
1127
|
+
*/
|
|
788
1128
|
roleId?: string,
|
|
1129
|
+
/**
|
|
1130
|
+
* Filter by course format (self-paced, instructor-led)
|
|
1131
|
+
*/
|
|
789
1132
|
selfPaced?: Array<string>,
|
|
1133
|
+
/**
|
|
1134
|
+
* Retrieve a specific skill by ID
|
|
1135
|
+
*/
|
|
790
1136
|
skillId?: string,
|
|
1137
|
+
/**
|
|
1138
|
+
* Filter by skills
|
|
1139
|
+
*/
|
|
791
1140
|
skills?: Array<string>,
|
|
1141
|
+
/**
|
|
1142
|
+
* Filter by subject areas
|
|
1143
|
+
*/
|
|
792
1144
|
subject?: Array<string>,
|
|
1145
|
+
/**
|
|
1146
|
+
* Filter by tags
|
|
1147
|
+
*/
|
|
793
1148
|
tags?: Array<string>,
|
|
1149
|
+
/**
|
|
1150
|
+
* Filter by topic areas
|
|
1151
|
+
*/
|
|
794
1152
|
topics?: Array<string>,
|
|
795
|
-
): CancelablePromise<RecommendedCoursesResponse> {
|
|
1153
|
+
}): CancelablePromise<RecommendedCoursesResponse> {
|
|
796
1154
|
return __request(OpenAPI, {
|
|
797
1155
|
method: 'GET',
|
|
798
1156
|
url: '/api/search/orgs/{org}/users/{username}/recommended/',
|
|
@@ -835,77 +1193,174 @@ export class SearchService {
|
|
|
835
1193
|
* Determine whether to serve a detail view or a list view.
|
|
836
1194
|
* If any detail-identifying parameters are present (course_id, program_id, etc.)
|
|
837
1195
|
* the detail view is returned; otherwise the aggregated list view is returned.
|
|
838
|
-
* @param username
|
|
839
|
-
* @param allowSkillSearch Enable skill-based search
|
|
840
|
-
* @param alphabetical Sort alphabetically by name
|
|
841
|
-
* @param certificate Filter by certificate type
|
|
842
|
-
* @param content Content types to include in results
|
|
843
|
-
* @param courseId Retrieve a specific course by ID
|
|
844
|
-
* @param duration Filter by course duration range
|
|
845
|
-
* @param language Filter by content language
|
|
846
|
-
* @param level Filter by difficulty level
|
|
847
|
-
* @param limit Number of results per page
|
|
848
|
-
* @param offset Starting position for pagination
|
|
849
|
-
* @param orderAscending Sort direction
|
|
850
|
-
* @param orderBy Field to sort results by
|
|
851
|
-
* @param pathwayId Retrieve a specific pathway by ID
|
|
852
|
-
* @param price Filter by price/audit status
|
|
853
|
-
* @param programId Retrieve a specific program by ID
|
|
854
|
-
* @param programType Filter by program type
|
|
855
|
-
* @param promotion Filter by promotion status
|
|
856
|
-
* @param query Search term to filter content by name or description
|
|
857
|
-
* @param recommended Show only recommended content
|
|
858
|
-
* @param resourceId Retrieve a specific resource by ID
|
|
859
|
-
* @param resourceType Filter by resource type
|
|
860
|
-
* @param returnFacet Include facet data in response
|
|
861
|
-
* @param returnItems Include items in programs/pathways
|
|
862
|
-
* @param roleId Retrieve a specific role by ID
|
|
863
|
-
* @param selfPaced Filter by course format
|
|
864
|
-
* @param skillId Retrieve a specific skill by ID
|
|
865
|
-
* @param skills Filter by skills
|
|
866
|
-
* @param subject Filter by subject areas
|
|
867
|
-
* @param tags Filter by tags
|
|
868
|
-
* @param tenant Filter by tenant/organization
|
|
869
|
-
* @param topics Filter by topic areas
|
|
870
|
-
* @param updateFacet Force facet update
|
|
871
1196
|
* @returns any
|
|
872
1197
|
* @throws ApiError
|
|
873
1198
|
*/
|
|
874
|
-
public static searchPersonalizedCatalogRetrieve(
|
|
1199
|
+
public static searchPersonalizedCatalogRetrieve({
|
|
1200
|
+
username,
|
|
1201
|
+
allowSkillSearch = false,
|
|
1202
|
+
alphabetical = false,
|
|
1203
|
+
certificate,
|
|
1204
|
+
content,
|
|
1205
|
+
courseId,
|
|
1206
|
+
duration,
|
|
1207
|
+
language,
|
|
1208
|
+
level,
|
|
1209
|
+
limit = 12,
|
|
1210
|
+
offset,
|
|
1211
|
+
orderAscending = false,
|
|
1212
|
+
orderBy,
|
|
1213
|
+
pathwayId,
|
|
1214
|
+
price,
|
|
1215
|
+
programId,
|
|
1216
|
+
programType,
|
|
1217
|
+
promotion,
|
|
1218
|
+
query,
|
|
1219
|
+
recommended = false,
|
|
1220
|
+
resourceId,
|
|
1221
|
+
resourceType,
|
|
1222
|
+
returnFacet = true,
|
|
1223
|
+
returnItems = false,
|
|
1224
|
+
roleId,
|
|
1225
|
+
selfPaced,
|
|
1226
|
+
skillId,
|
|
1227
|
+
skills,
|
|
1228
|
+
subject,
|
|
1229
|
+
tags,
|
|
1230
|
+
tenant,
|
|
1231
|
+
topics,
|
|
1232
|
+
updateFacet,
|
|
1233
|
+
}: {
|
|
875
1234
|
username: string,
|
|
876
|
-
|
|
877
|
-
|
|
1235
|
+
/**
|
|
1236
|
+
* Enable skill-based search
|
|
1237
|
+
*/
|
|
1238
|
+
allowSkillSearch?: boolean,
|
|
1239
|
+
/**
|
|
1240
|
+
* Sort alphabetically by name
|
|
1241
|
+
*/
|
|
1242
|
+
alphabetical?: boolean,
|
|
1243
|
+
/**
|
|
1244
|
+
* Filter by certificate type
|
|
1245
|
+
*/
|
|
878
1246
|
certificate?: Array<string>,
|
|
1247
|
+
/**
|
|
1248
|
+
* Content types to include in results
|
|
1249
|
+
*/
|
|
879
1250
|
content?: Array<string>,
|
|
1251
|
+
/**
|
|
1252
|
+
* Retrieve a specific course by ID
|
|
1253
|
+
*/
|
|
880
1254
|
courseId?: string,
|
|
1255
|
+
/**
|
|
1256
|
+
* Filter by course duration range
|
|
1257
|
+
*/
|
|
881
1258
|
duration?: Array<string>,
|
|
1259
|
+
/**
|
|
1260
|
+
* Filter by content language
|
|
1261
|
+
*/
|
|
882
1262
|
language?: Array<string>,
|
|
1263
|
+
/**
|
|
1264
|
+
* Filter by difficulty level
|
|
1265
|
+
*/
|
|
883
1266
|
level?: Array<string>,
|
|
884
|
-
|
|
1267
|
+
/**
|
|
1268
|
+
* Number of results per page
|
|
1269
|
+
*/
|
|
1270
|
+
limit?: number,
|
|
1271
|
+
/**
|
|
1272
|
+
* Starting position for pagination
|
|
1273
|
+
*/
|
|
885
1274
|
offset?: number,
|
|
886
|
-
|
|
1275
|
+
/**
|
|
1276
|
+
* Sort direction
|
|
1277
|
+
*/
|
|
1278
|
+
orderAscending?: boolean,
|
|
1279
|
+
/**
|
|
1280
|
+
* Field to sort results by
|
|
1281
|
+
*/
|
|
887
1282
|
orderBy?: string,
|
|
1283
|
+
/**
|
|
1284
|
+
* Retrieve a specific pathway by ID
|
|
1285
|
+
*/
|
|
888
1286
|
pathwayId?: string,
|
|
1287
|
+
/**
|
|
1288
|
+
* Filter by price/audit status
|
|
1289
|
+
*/
|
|
889
1290
|
price?: string,
|
|
1291
|
+
/**
|
|
1292
|
+
* Retrieve a specific program by ID
|
|
1293
|
+
*/
|
|
890
1294
|
programId?: string,
|
|
1295
|
+
/**
|
|
1296
|
+
* Filter by program type
|
|
1297
|
+
*/
|
|
891
1298
|
programType?: Array<string>,
|
|
1299
|
+
/**
|
|
1300
|
+
* Filter by promotion status
|
|
1301
|
+
*/
|
|
892
1302
|
promotion?: Array<string>,
|
|
1303
|
+
/**
|
|
1304
|
+
* Search term to filter content by name or description
|
|
1305
|
+
*/
|
|
893
1306
|
query?: string,
|
|
894
|
-
|
|
1307
|
+
/**
|
|
1308
|
+
* Show only recommended content
|
|
1309
|
+
*/
|
|
1310
|
+
recommended?: boolean,
|
|
1311
|
+
/**
|
|
1312
|
+
* Retrieve a specific resource by ID
|
|
1313
|
+
*/
|
|
895
1314
|
resourceId?: string,
|
|
1315
|
+
/**
|
|
1316
|
+
* Filter by resource type
|
|
1317
|
+
*/
|
|
896
1318
|
resourceType?: Array<string>,
|
|
897
|
-
|
|
898
|
-
|
|
1319
|
+
/**
|
|
1320
|
+
* Include facet data in response
|
|
1321
|
+
*/
|
|
1322
|
+
returnFacet?: boolean,
|
|
1323
|
+
/**
|
|
1324
|
+
* Include items in programs/pathways
|
|
1325
|
+
*/
|
|
1326
|
+
returnItems?: boolean,
|
|
1327
|
+
/**
|
|
1328
|
+
* Retrieve a specific role by ID
|
|
1329
|
+
*/
|
|
899
1330
|
roleId?: string,
|
|
1331
|
+
/**
|
|
1332
|
+
* Filter by course format
|
|
1333
|
+
*/
|
|
900
1334
|
selfPaced?: Array<string>,
|
|
1335
|
+
/**
|
|
1336
|
+
* Retrieve a specific skill by ID
|
|
1337
|
+
*/
|
|
901
1338
|
skillId?: string,
|
|
1339
|
+
/**
|
|
1340
|
+
* Filter by skills
|
|
1341
|
+
*/
|
|
902
1342
|
skills?: Array<string>,
|
|
1343
|
+
/**
|
|
1344
|
+
* Filter by subject areas
|
|
1345
|
+
*/
|
|
903
1346
|
subject?: Array<string>,
|
|
1347
|
+
/**
|
|
1348
|
+
* Filter by tags
|
|
1349
|
+
*/
|
|
904
1350
|
tags?: Array<string>,
|
|
1351
|
+
/**
|
|
1352
|
+
* Filter by tenant/organization
|
|
1353
|
+
*/
|
|
905
1354
|
tenant?: Array<string>,
|
|
1355
|
+
/**
|
|
1356
|
+
* Filter by topic areas
|
|
1357
|
+
*/
|
|
906
1358
|
topics?: Array<string>,
|
|
1359
|
+
/**
|
|
1360
|
+
* Force facet update
|
|
1361
|
+
*/
|
|
907
1362
|
updateFacet?: string,
|
|
908
|
-
): CancelablePromise<Record<string, any>> {
|
|
1363
|
+
}): CancelablePromise<Record<string, any>> {
|
|
909
1364
|
return __request(OpenAPI, {
|
|
910
1365
|
method: 'GET',
|
|
911
1366
|
url: '/api/search/personalized-catalog/{username}/',
|
|
@@ -1058,37 +1513,77 @@ export class SearchService {
|
|
|
1058
1513
|
* Notes:
|
|
1059
1514
|
* - Only publicly available prompts are returned by default
|
|
1060
1515
|
* - When filtering by mentor, the mentor ID must be a valid UUID
|
|
1061
|
-
* @param alphabetical Sort alphabetically
|
|
1062
|
-
* @param category Filter by prompt category
|
|
1063
|
-
* @param filterFacet If true, return only facets without results
|
|
1064
|
-
* @param language Filter by prompt language
|
|
1065
|
-
* @param limit Number of results per page
|
|
1066
|
-
* @param mentor Filter by mentor UUID
|
|
1067
|
-
* @param offset Starting position for pagination
|
|
1068
|
-
* @param orderDirection Sort direction ('asc' or 'desc')
|
|
1069
|
-
* @param query Search term to filter prompts by name or content
|
|
1070
|
-
* @param sortBy Field to sort results by
|
|
1071
|
-
* @param style Filter by prompt style
|
|
1072
|
-
* @param tenant Filter by tenant/organization
|
|
1073
|
-
* @param tone Filter by prompt tone
|
|
1074
1516
|
* @returns PromptSearchResponse
|
|
1075
1517
|
* @throws ApiError
|
|
1076
1518
|
*/
|
|
1077
|
-
public static searchPromptsRetrieve(
|
|
1078
|
-
alphabetical
|
|
1519
|
+
public static searchPromptsRetrieve({
|
|
1520
|
+
alphabetical = false,
|
|
1521
|
+
category,
|
|
1522
|
+
filterFacet,
|
|
1523
|
+
language,
|
|
1524
|
+
limit = 10,
|
|
1525
|
+
mentor,
|
|
1526
|
+
offset,
|
|
1527
|
+
orderDirection = 'desc',
|
|
1528
|
+
query,
|
|
1529
|
+
sortBy,
|
|
1530
|
+
style,
|
|
1531
|
+
tenant,
|
|
1532
|
+
tone,
|
|
1533
|
+
}: {
|
|
1534
|
+
/**
|
|
1535
|
+
* Sort alphabetically
|
|
1536
|
+
*/
|
|
1537
|
+
alphabetical?: boolean,
|
|
1538
|
+
/**
|
|
1539
|
+
* Filter by prompt category
|
|
1540
|
+
*/
|
|
1079
1541
|
category?: string,
|
|
1542
|
+
/**
|
|
1543
|
+
* If true, return only facets without results
|
|
1544
|
+
*/
|
|
1080
1545
|
filterFacet?: boolean,
|
|
1546
|
+
/**
|
|
1547
|
+
* Filter by prompt language
|
|
1548
|
+
*/
|
|
1081
1549
|
language?: string,
|
|
1082
|
-
|
|
1550
|
+
/**
|
|
1551
|
+
* Number of results per page
|
|
1552
|
+
*/
|
|
1553
|
+
limit?: number,
|
|
1554
|
+
/**
|
|
1555
|
+
* Filter by mentor UUID
|
|
1556
|
+
*/
|
|
1083
1557
|
mentor?: string,
|
|
1558
|
+
/**
|
|
1559
|
+
* Starting position for pagination
|
|
1560
|
+
*/
|
|
1084
1561
|
offset?: number,
|
|
1085
|
-
|
|
1562
|
+
/**
|
|
1563
|
+
* Sort direction ('asc' or 'desc')
|
|
1564
|
+
*/
|
|
1565
|
+
orderDirection?: string,
|
|
1566
|
+
/**
|
|
1567
|
+
* Search term to filter prompts by name or content
|
|
1568
|
+
*/
|
|
1086
1569
|
query?: string,
|
|
1570
|
+
/**
|
|
1571
|
+
* Field to sort results by
|
|
1572
|
+
*/
|
|
1087
1573
|
sortBy?: string,
|
|
1574
|
+
/**
|
|
1575
|
+
* Filter by prompt style
|
|
1576
|
+
*/
|
|
1088
1577
|
style?: string,
|
|
1578
|
+
/**
|
|
1579
|
+
* Filter by tenant/organization
|
|
1580
|
+
*/
|
|
1089
1581
|
tenant?: string,
|
|
1582
|
+
/**
|
|
1583
|
+
* Filter by prompt tone
|
|
1584
|
+
*/
|
|
1090
1585
|
tone?: string,
|
|
1091
|
-
): CancelablePromise<PromptSearchResponse> {
|
|
1586
|
+
}): CancelablePromise<PromptSearchResponse> {
|
|
1092
1587
|
return __request(OpenAPI, {
|
|
1093
1588
|
method: 'GET',
|
|
1094
1589
|
url: '/api/search/prompts/',
|
|
@@ -1202,41 +1697,81 @@ export class SearchService {
|
|
|
1202
1697
|
* - The requesting user must have an active account in the specified organization
|
|
1203
1698
|
* - When department_mode is enabled, the user must be an admin of at least one department
|
|
1204
1699
|
* - Department filtering restricts results to users in departments where the requesting user is an admin
|
|
1205
|
-
* @param org
|
|
1206
|
-
* @param username
|
|
1207
|
-
* @param department Filter by department names
|
|
1208
|
-
* @param educationDegree Filter by degree
|
|
1209
|
-
* @param educationFieldOfStudy Filter by field of study
|
|
1210
|
-
* @param educationInstitution Filter by institution
|
|
1211
|
-
* @param includeMembershipData Include user group membership data in results
|
|
1212
|
-
* @param limit Number of results per page
|
|
1213
|
-
* @param offset Starting position for pagination
|
|
1214
|
-
* @param q Search term to filter users by name, email, or other attributes
|
|
1215
|
-
* @param userResumeCompany Filter by company
|
|
1216
|
-
* @param userResumeIndustry Filter by industry
|
|
1217
|
-
* @param userResumeJobTitle Filter by job title
|
|
1218
|
-
* @param userResumeLocation Filter by location
|
|
1219
|
-
* @param userResumeSkills Filter by skills
|
|
1220
1700
|
* @returns UserSearchResponse
|
|
1221
1701
|
* @throws ApiError
|
|
1222
1702
|
*/
|
|
1223
|
-
public static searchUsersOrgsUsersRetrieve(
|
|
1703
|
+
public static searchUsersOrgsUsersRetrieve({
|
|
1704
|
+
org,
|
|
1705
|
+
username,
|
|
1706
|
+
department,
|
|
1707
|
+
educationDegree,
|
|
1708
|
+
educationFieldOfStudy,
|
|
1709
|
+
educationInstitution,
|
|
1710
|
+
includeMembershipData = false,
|
|
1711
|
+
limit = 10,
|
|
1712
|
+
offset,
|
|
1713
|
+
q,
|
|
1714
|
+
userResumeCompany,
|
|
1715
|
+
userResumeIndustry,
|
|
1716
|
+
userResumeJobTitle,
|
|
1717
|
+
userResumeLocation,
|
|
1718
|
+
userResumeSkills,
|
|
1719
|
+
}: {
|
|
1224
1720
|
org: string,
|
|
1225
1721
|
username: string,
|
|
1722
|
+
/**
|
|
1723
|
+
* Filter by department names
|
|
1724
|
+
*/
|
|
1226
1725
|
department?: Array<string>,
|
|
1726
|
+
/**
|
|
1727
|
+
* Filter by degree
|
|
1728
|
+
*/
|
|
1227
1729
|
educationDegree?: string,
|
|
1730
|
+
/**
|
|
1731
|
+
* Filter by field of study
|
|
1732
|
+
*/
|
|
1228
1733
|
educationFieldOfStudy?: string,
|
|
1734
|
+
/**
|
|
1735
|
+
* Filter by institution
|
|
1736
|
+
*/
|
|
1229
1737
|
educationInstitution?: string,
|
|
1230
|
-
|
|
1231
|
-
|
|
1738
|
+
/**
|
|
1739
|
+
* Include user group membership data in results
|
|
1740
|
+
*/
|
|
1741
|
+
includeMembershipData?: boolean,
|
|
1742
|
+
/**
|
|
1743
|
+
* Number of results per page
|
|
1744
|
+
*/
|
|
1745
|
+
limit?: number,
|
|
1746
|
+
/**
|
|
1747
|
+
* Starting position for pagination
|
|
1748
|
+
*/
|
|
1232
1749
|
offset?: number,
|
|
1750
|
+
/**
|
|
1751
|
+
* Search term to filter users by name, email, or other attributes
|
|
1752
|
+
*/
|
|
1233
1753
|
q?: string,
|
|
1754
|
+
/**
|
|
1755
|
+
* Filter by company
|
|
1756
|
+
*/
|
|
1234
1757
|
userResumeCompany?: string,
|
|
1758
|
+
/**
|
|
1759
|
+
* Filter by industry
|
|
1760
|
+
*/
|
|
1235
1761
|
userResumeIndustry?: string,
|
|
1762
|
+
/**
|
|
1763
|
+
* Filter by job title
|
|
1764
|
+
*/
|
|
1236
1765
|
userResumeJobTitle?: string,
|
|
1766
|
+
/**
|
|
1767
|
+
* Filter by location
|
|
1768
|
+
*/
|
|
1237
1769
|
userResumeLocation?: string,
|
|
1770
|
+
/**
|
|
1771
|
+
* Filter by skills
|
|
1772
|
+
*/
|
|
1238
1773
|
userResumeSkills?: string,
|
|
1239
|
-
): CancelablePromise<UserSearchResponse> {
|
|
1774
|
+
}): CancelablePromise<UserSearchResponse> {
|
|
1240
1775
|
return __request(OpenAPI, {
|
|
1241
1776
|
method: 'GET',
|
|
1242
1777
|
url: '/api/search/users/orgs/{org}/users/{username}/',
|