@iblai/iblai-api 4.96.0-pre-livekit-ai → 4.96.1-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 +52 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +53 -18
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +52 -17
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/models/CallConfiguration.d.ts +4 -0
- package/dist/types/models/Conversations.d.ts +1 -0
- package/dist/types/models/LlmProviderEnum.d.ts +3 -1
- package/dist/types/models/MessageView.d.ts +1 -0
- package/dist/types/models/MessageViewRequest.d.ts +1 -0
- package/dist/types/models/PatchedCallConfiguration.d.ts +4 -0
- package/dist/types/models/PatchedConversations.d.ts +1 -0
- package/dist/types/models/SttProviderEnum.d.ts +3 -1
- package/dist/types/models/TtsProviderEnum.d.ts +3 -1
- package/dist/types/models/Voice.d.ts +2 -2
- package/dist/types/models/{Provider637Enum.d.ts → VoiceProviderEnum.d.ts} +1 -1
- package/dist/types/services/AiMentorService.d.ts +10 -0
- package/dist/types/services/AiSearchService.d.ts +19 -3
- package/package.json +1 -1
- package/sdk_schema.yml +94 -13
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +1 -1
- package/src/models/CallConfiguration.ts +4 -0
- package/src/models/Conversations.ts +1 -0
- package/src/models/LlmProviderEnum.ts +2 -0
- package/src/models/MessageView.ts +1 -0
- package/src/models/MessageViewRequest.ts +1 -0
- package/src/models/PatchedCallConfiguration.ts +4 -0
- package/src/models/PatchedConversations.ts +1 -0
- package/src/models/SttProviderEnum.ts +2 -0
- package/src/models/TtsProviderEnum.ts +2 -0
- package/src/models/Voice.ts +2 -2
- package/src/models/{Provider637Enum.ts → VoiceProviderEnum.ts} +1 -1
- package/src/services/AiMentorService.ts +25 -0
- package/src/services/AiSearchService.ts +25 -1
|
@@ -62,12 +62,14 @@ export class AiSearchService {
|
|
|
62
62
|
public static v2GlobalMentorSearch({
|
|
63
63
|
category,
|
|
64
64
|
createdBy,
|
|
65
|
+
featured,
|
|
65
66
|
includeMainPublicMentors = false,
|
|
66
67
|
limit,
|
|
67
68
|
llm,
|
|
68
69
|
offset,
|
|
69
70
|
platformKey,
|
|
70
71
|
query,
|
|
72
|
+
starred,
|
|
71
73
|
subjects,
|
|
72
74
|
tenant,
|
|
73
75
|
types,
|
|
@@ -81,6 +83,10 @@ export class AiSearchService {
|
|
|
81
83
|
* Filter mentors created by specific user (for personalized search)
|
|
82
84
|
*/
|
|
83
85
|
createdBy?: string,
|
|
86
|
+
/**
|
|
87
|
+
* Filter by featured status (true/false)
|
|
88
|
+
*/
|
|
89
|
+
featured?: boolean | null,
|
|
84
90
|
/**
|
|
85
91
|
* Include main tenant public mentors (VIEWABLE_BY_ANYONE) when true
|
|
86
92
|
*/
|
|
@@ -105,12 +111,16 @@ export class AiSearchService {
|
|
|
105
111
|
* Search query for mentors
|
|
106
112
|
*/
|
|
107
113
|
query?: string,
|
|
114
|
+
/**
|
|
115
|
+
* Filter by starred status (true/false) - only for authenticated users
|
|
116
|
+
*/
|
|
117
|
+
starred?: boolean | null,
|
|
108
118
|
/**
|
|
109
119
|
* Mentor subject filter
|
|
110
120
|
*/
|
|
111
121
|
subjects?: string,
|
|
112
122
|
/**
|
|
113
|
-
* Tenant key(s) (CSV). Can be used as a filter for multiple tenants, or as an alias for 'platform_key'
|
|
123
|
+
* Tenant key(s) (CSV). Can be used as a filter for multiple tenants, or as an alias for 'platform_key' (backward compatibility).
|
|
114
124
|
*/
|
|
115
125
|
tenant?: string,
|
|
116
126
|
/**
|
|
@@ -128,12 +138,14 @@ export class AiSearchService {
|
|
|
128
138
|
query: {
|
|
129
139
|
'category': category,
|
|
130
140
|
'created_by': createdBy,
|
|
141
|
+
'featured': featured,
|
|
131
142
|
'include_main_public_mentors': includeMainPublicMentors,
|
|
132
143
|
'limit': limit,
|
|
133
144
|
'llm': llm,
|
|
134
145
|
'offset': offset,
|
|
135
146
|
'platform_key': platformKey,
|
|
136
147
|
'query': query,
|
|
148
|
+
'starred': starred,
|
|
137
149
|
'subjects': subjects,
|
|
138
150
|
'tenant': tenant,
|
|
139
151
|
'types': types,
|
|
@@ -291,6 +303,7 @@ export class AiSearchService {
|
|
|
291
303
|
public static v2PersonalizedMentors({
|
|
292
304
|
audience,
|
|
293
305
|
category,
|
|
306
|
+
featured,
|
|
294
307
|
limit,
|
|
295
308
|
llmProviders,
|
|
296
309
|
offset,
|
|
@@ -299,6 +312,7 @@ export class AiSearchService {
|
|
|
299
312
|
platformKey,
|
|
300
313
|
query,
|
|
301
314
|
returnFacet,
|
|
315
|
+
starred,
|
|
302
316
|
tags,
|
|
303
317
|
tenant,
|
|
304
318
|
username,
|
|
@@ -312,6 +326,10 @@ export class AiSearchService {
|
|
|
312
326
|
* Mentor category filter
|
|
313
327
|
*/
|
|
314
328
|
category?: string,
|
|
329
|
+
/**
|
|
330
|
+
* Filter by featured status (true/false)
|
|
331
|
+
*/
|
|
332
|
+
featured?: boolean | null,
|
|
315
333
|
/**
|
|
316
334
|
* Number of results per page
|
|
317
335
|
*/
|
|
@@ -347,6 +365,10 @@ export class AiSearchService {
|
|
|
347
365
|
* Include facet data in response
|
|
348
366
|
*/
|
|
349
367
|
returnFacet?: boolean,
|
|
368
|
+
/**
|
|
369
|
+
* Filter by starred status (true/false)
|
|
370
|
+
*/
|
|
371
|
+
starred?: boolean | null,
|
|
350
372
|
/**
|
|
351
373
|
* Filter by tags
|
|
352
374
|
*/
|
|
@@ -370,6 +392,7 @@ export class AiSearchService {
|
|
|
370
392
|
query: {
|
|
371
393
|
'audience': audience,
|
|
372
394
|
'category': category,
|
|
395
|
+
'featured': featured,
|
|
373
396
|
'limit': limit,
|
|
374
397
|
'llm_providers': llmProviders,
|
|
375
398
|
'offset': offset,
|
|
@@ -378,6 +401,7 @@ export class AiSearchService {
|
|
|
378
401
|
'platform_key': platformKey,
|
|
379
402
|
'query': query,
|
|
380
403
|
'return_facet': returnFacet,
|
|
404
|
+
'starred': starred,
|
|
381
405
|
'tags': tags,
|
|
382
406
|
'tenant': tenant,
|
|
383
407
|
'username': username,
|