@iblai/iblai-api 2025.11.20-memory-pagination-fix-test-2-ai → 2025.12.3-webhook-tool-dev-test-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.
Files changed (74) hide show
  1. package/dist/index.cjs.js +321 -28
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +322 -29
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +321 -28
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +8 -3
  8. package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +2 -2
  9. package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +2 -2
  10. package/dist/types/models/Artifact.d.ts +3 -7
  11. package/dist/types/models/ArtifactList.d.ts +1 -4
  12. package/dist/types/models/ArtifactVersion.d.ts +13 -2
  13. package/dist/types/models/CallConfiguration.d.ts +4 -0
  14. package/dist/types/models/ChatHistory.d.ts +2 -0
  15. package/dist/types/models/ChatSessionResponse.d.ts +2 -0
  16. package/dist/types/models/Conversations.d.ts +9 -0
  17. package/dist/types/models/GoogleAgentDetail.d.ts +17 -0
  18. package/dist/types/models/LlmProviderEnum.d.ts +3 -1
  19. package/dist/types/models/MessageView.d.ts +1 -0
  20. package/dist/types/models/MessageViewRequest.d.ts +1 -0
  21. package/dist/types/models/PaginatedArtifactVersionList.d.ts +7 -0
  22. package/dist/types/models/PaginatedGoogleAgentDetailList.d.ts +7 -0
  23. package/dist/types/models/PaginatedUserGroupList.d.ts +7 -0
  24. package/dist/types/models/PatchedArtifact.d.ts +3 -7
  25. package/dist/types/models/PatchedCallConfiguration.d.ts +4 -0
  26. package/dist/types/models/PatchedConversations.d.ts +9 -0
  27. package/dist/types/models/PatchedGoogleAgentDetail.d.ts +17 -0
  28. package/dist/types/models/PatchedUserGroup.d.ts +26 -0
  29. package/dist/types/models/SttProviderEnum.d.ts +3 -1
  30. package/dist/types/models/TtsProviderEnum.d.ts +3 -1
  31. package/dist/types/models/UserGroup.d.ts +26 -0
  32. package/dist/types/models/UserMemory.d.ts +1 -0
  33. package/dist/types/models/Voice.d.ts +2 -2
  34. package/dist/types/models/{Provider637Enum.d.ts → VoiceProviderEnum.d.ts} +1 -1
  35. package/dist/types/services/AiMentorService.d.ts +85 -11
  36. package/dist/types/services/AiSearchService.d.ts +21 -5
  37. package/dist/types/services/CoreService.d.ts +97 -3
  38. package/package.json +1 -1
  39. package/sdk_schema.yml +1031 -252
  40. package/src/core/OpenAPI.ts +1 -1
  41. package/src/index.ts +8 -3
  42. package/src/models/AccessibleMentorsByEmailRequest.ts +2 -2
  43. package/src/models/AccessibleMentorsByEmailResponse.ts +2 -2
  44. package/src/models/Artifact.ts +3 -7
  45. package/src/models/ArtifactList.ts +1 -4
  46. package/src/models/ArtifactVersion.ts +13 -2
  47. package/src/models/CallConfiguration.ts +4 -0
  48. package/src/models/ChatHistory.ts +2 -0
  49. package/src/models/ChatSessionResponse.ts +2 -0
  50. package/src/models/Conversations.ts +9 -0
  51. package/src/models/GoogleAgentDetail.ts +22 -0
  52. package/src/models/LlmProviderEnum.ts +2 -0
  53. package/src/models/MessageView.ts +1 -0
  54. package/src/models/MessageViewRequest.ts +1 -0
  55. package/src/models/{PaginatedArtifactVersionListList.ts → PaginatedArtifactVersionList.ts} +3 -3
  56. package/src/models/PaginatedGoogleAgentDetailList.ts +12 -0
  57. package/src/models/PaginatedUserGroupList.ts +12 -0
  58. package/src/models/PatchedArtifact.ts +3 -7
  59. package/src/models/PatchedCallConfiguration.ts +4 -0
  60. package/src/models/PatchedConversations.ts +9 -0
  61. package/src/models/PatchedGoogleAgentDetail.ts +22 -0
  62. package/src/models/PatchedUserGroup.ts +31 -0
  63. package/src/models/SttProviderEnum.ts +2 -0
  64. package/src/models/TtsProviderEnum.ts +2 -0
  65. package/src/models/UserGroup.ts +31 -0
  66. package/src/models/UserMemory.ts +1 -0
  67. package/src/models/Voice.ts +2 -2
  68. package/src/models/{Provider637Enum.ts → VoiceProviderEnum.ts} +1 -1
  69. package/src/services/AiMentorService.ts +6051 -5882
  70. package/src/services/AiSearchService.ts +29 -5
  71. package/src/services/CoreService.ts +195 -3
  72. package/dist/types/models/ArtifactVersionList.d.ts +0 -35
  73. package/dist/types/models/PaginatedArtifactVersionListList.d.ts +0 -7
  74. package/src/models/ArtifactVersionList.ts +0 -40
@@ -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' in authenticated requests (backward compatibility).
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,14 +303,16 @@ export class AiSearchService {
291
303
  public static v2PersonalizedMentors({
292
304
  audience,
293
305
  category,
306
+ featured,
294
307
  limit,
295
- llmProviders,
308
+ llm,
296
309
  offset,
297
310
  orderBy,
298
311
  orderDirection,
299
312
  platformKey,
300
313
  query,
301
314
  returnFacet,
315
+ starred,
302
316
  tags,
303
317
  tenant,
304
318
  username,
@@ -312,14 +326,18 @@ 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
  */
318
336
  limit?: number,
319
337
  /**
320
- * Filter by LLM provider
338
+ * LLM provider filter (frontend uses 'llm', backend maps to 'llm_provider')
321
339
  */
322
- llmProviders?: Array<string>,
340
+ llm?: string,
323
341
  /**
324
342
  * Number of results to skip
325
343
  */
@@ -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,14 +392,16 @@ export class AiSearchService {
370
392
  query: {
371
393
  'audience': audience,
372
394
  'category': category,
395
+ 'featured': featured,
373
396
  'limit': limit,
374
- 'llm_providers': llmProviders,
397
+ 'llm': llm,
375
398
  'offset': offset,
376
399
  'order_by': orderBy,
377
400
  'order_direction': orderDirection,
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,
@@ -15,11 +15,13 @@ import type { MentorPolicy } from '../models/MentorPolicy';
15
15
  import type { PaginatedRbacGroupList } from '../models/PaginatedRbacGroupList';
16
16
  import type { PaginatedRbacPolicyList } from '../models/PaginatedRbacPolicyList';
17
17
  import type { PaginatedRbacRoleList } from '../models/PaginatedRbacRoleList';
18
+ import type { PaginatedUserGroupList } from '../models/PaginatedUserGroupList';
18
19
  import type { PatchedPlatformPublicImageAsset } from '../models/PatchedPlatformPublicImageAsset';
19
20
  import type { PatchedPlatformPublicMetadata } from '../models/PatchedPlatformPublicMetadata';
20
21
  import type { PatchedRbacGroup } from '../models/PatchedRbacGroup';
21
22
  import type { PatchedRbacPolicy } from '../models/PatchedRbacPolicy';
22
23
  import type { PatchedRbacRole } from '../models/PatchedRbacRole';
24
+ import type { PatchedUserGroup } from '../models/PatchedUserGroup';
23
25
  import type { PermissionCheckRequest } from '../models/PermissionCheckRequest';
24
26
  import type { PlatformApiKey } from '../models/PlatformApiKey';
25
27
  import type { PlatformConfigurationList } from '../models/PlatformConfigurationList';
@@ -45,6 +47,7 @@ import type { TokenProxyInput } from '../models/TokenProxyInput';
45
47
  import type { TokenProxyOutput } from '../models/TokenProxyOutput';
46
48
  import type { UserDeleteAPIRequest } from '../models/UserDeleteAPIRequest';
47
49
  import type { UserDeleteAPIResponse } from '../models/UserDeleteAPIResponse';
50
+ import type { UserGroup } from '../models/UserGroup';
48
51
  import type { UserGroupAccess } from '../models/UserGroupAccess';
49
52
  import type { UserPlatformLink } from '../models/UserPlatformLink';
50
53
  import type { UserPlatformManagementListViewGetResponse } from '../models/UserPlatformManagementListViewGetResponse';
@@ -2318,12 +2321,201 @@ export class CoreService {
2318
2321
  url: '/api/core/token/verify/',
2319
2322
  });
2320
2323
  }
2324
+ /**
2325
+ * List UserGroups
2326
+ * Retrieve a list of UserGroups. Can be filtered by platform_key, name, and include_users.
2327
+ * @returns PaginatedUserGroupList
2328
+ * @throws ApiError
2329
+ */
2330
+ public static coreUserGroupsList({
2331
+ includeUsers = false,
2332
+ name,
2333
+ page,
2334
+ pageSize,
2335
+ platformKey,
2336
+ withPermissions = false,
2337
+ }: {
2338
+ /**
2339
+ * Include user information in response (default: false for performance)
2340
+ */
2341
+ includeUsers?: boolean,
2342
+ /**
2343
+ * Fuzzy search by group name
2344
+ */
2345
+ name?: string,
2346
+ /**
2347
+ * A page number within the paginated result set.
2348
+ */
2349
+ page?: number,
2350
+ /**
2351
+ * Number of results to return per page.
2352
+ */
2353
+ pageSize?: number,
2354
+ /**
2355
+ * Filter groups by platform key
2356
+ */
2357
+ platformKey?: string,
2358
+ /**
2359
+ * Include object-level permissions in response
2360
+ */
2361
+ withPermissions?: boolean,
2362
+ }): CancelablePromise<PaginatedUserGroupList> {
2363
+ return __request(OpenAPI, {
2364
+ method: 'GET',
2365
+ url: '/api/core/user-groups/',
2366
+ query: {
2367
+ 'include_users': includeUsers,
2368
+ 'name': name,
2369
+ 'page': page,
2370
+ 'page_size': pageSize,
2371
+ 'platform_key': platformKey,
2372
+ 'with_permissions': withPermissions,
2373
+ },
2374
+ });
2375
+ }
2376
+ /**
2377
+ * Create UserGroup
2378
+ * Create a new UserGroup for a platform. Users can be assigned during creation.
2379
+ * @returns UserGroup
2380
+ * @throws ApiError
2381
+ */
2382
+ public static coreUserGroupsCreate({
2383
+ requestBody,
2384
+ }: {
2385
+ requestBody: UserGroup,
2386
+ }): CancelablePromise<UserGroup> {
2387
+ return __request(OpenAPI, {
2388
+ method: 'POST',
2389
+ url: '/api/core/user-groups/',
2390
+ body: requestBody,
2391
+ mediaType: 'application/json',
2392
+ errors: {
2393
+ 400: `Invalid input data. Common errors include:
2394
+ - Users do not belong to the specified platform
2395
+ - Invalid user IDs provided`,
2396
+ },
2397
+ });
2398
+ }
2399
+ /**
2400
+ * Retrieve UserGroup
2401
+ * Retrieve details of a specific UserGroup including assigned users.
2402
+ * @returns UserGroup
2403
+ * @throws ApiError
2404
+ */
2405
+ public static coreUserGroupsRetrieve({
2406
+ id,
2407
+ }: {
2408
+ /**
2409
+ * A unique integer value identifying this User Group.
2410
+ */
2411
+ id: number,
2412
+ }): CancelablePromise<UserGroup> {
2413
+ return __request(OpenAPI, {
2414
+ method: 'GET',
2415
+ url: '/api/core/user-groups/{id}/',
2416
+ path: {
2417
+ 'id': id,
2418
+ },
2419
+ errors: {
2420
+ 404: `UserGroup not found`,
2421
+ },
2422
+ });
2423
+ }
2424
+ /**
2425
+ * Update UserGroup
2426
+ * Update an existing UserGroup. Platform validation applies for user assignments.
2427
+ * @returns UserGroup
2428
+ * @throws ApiError
2429
+ */
2430
+ public static coreUserGroupsUpdate({
2431
+ id,
2432
+ requestBody,
2433
+ }: {
2434
+ /**
2435
+ * A unique integer value identifying this User Group.
2436
+ */
2437
+ id: number,
2438
+ requestBody: UserGroup,
2439
+ }): CancelablePromise<UserGroup> {
2440
+ return __request(OpenAPI, {
2441
+ method: 'PUT',
2442
+ url: '/api/core/user-groups/{id}/',
2443
+ path: {
2444
+ 'id': id,
2445
+ },
2446
+ body: requestBody,
2447
+ mediaType: 'application/json',
2448
+ errors: {
2449
+ 400: `Invalid input data. Common errors include:
2450
+ - Users do not belong to the specified platform
2451
+ - Invalid user IDs provided`,
2452
+ 404: `UserGroup not found`,
2453
+ },
2454
+ });
2455
+ }
2456
+ /**
2457
+ * Partially update UserGroup
2458
+ * Partially update an existing UserGroup. Platform validation applies for user assignments.
2459
+ * @returns UserGroup
2460
+ * @throws ApiError
2461
+ */
2462
+ public static coreUserGroupsPartialUpdate({
2463
+ id,
2464
+ requestBody,
2465
+ }: {
2466
+ /**
2467
+ * A unique integer value identifying this User Group.
2468
+ */
2469
+ id: number,
2470
+ requestBody?: PatchedUserGroup,
2471
+ }): CancelablePromise<UserGroup> {
2472
+ return __request(OpenAPI, {
2473
+ method: 'PATCH',
2474
+ url: '/api/core/user-groups/{id}/',
2475
+ path: {
2476
+ 'id': id,
2477
+ },
2478
+ body: requestBody,
2479
+ mediaType: 'application/json',
2480
+ errors: {
2481
+ 400: `Invalid input data. Common errors include:
2482
+ - Users do not belong to the specified platform
2483
+ - Invalid user IDs provided`,
2484
+ 404: `UserGroup not found`,
2485
+ },
2486
+ });
2487
+ }
2488
+ /**
2489
+ * Delete UserGroup
2490
+ * Delete a UserGroup and all associated user group links.
2491
+ * @returns void
2492
+ * @throws ApiError
2493
+ */
2494
+ public static coreUserGroupsDestroy({
2495
+ id,
2496
+ }: {
2497
+ /**
2498
+ * A unique integer value identifying this User Group.
2499
+ */
2500
+ id: number,
2501
+ }): CancelablePromise<void> {
2502
+ return __request(OpenAPI, {
2503
+ method: 'DELETE',
2504
+ url: '/api/core/user-groups/{id}/',
2505
+ path: {
2506
+ 'id': id,
2507
+ },
2508
+ errors: {
2509
+ 404: `UserGroup not found`,
2510
+ },
2511
+ });
2512
+ }
2321
2513
  /**
2322
2514
  * Show (active) user groups associated with a platform
2323
2515
  * @returns any No response body
2324
2516
  * @throws ApiError
2325
2517
  */
2326
- public static coreUserGroupsRetrieve(): CancelablePromise<any> {
2518
+ public static coreUserGroupsRetrieve2(): CancelablePromise<any> {
2327
2519
  return __request(OpenAPI, {
2328
2520
  method: 'GET',
2329
2521
  url: '/api/core/user_groups/',
@@ -2334,7 +2526,7 @@ export class CoreService {
2334
2526
  * @returns any No response body
2335
2527
  * @throws ApiError
2336
2528
  */
2337
- public static coreUserGroupsCreate(): CancelablePromise<any> {
2529
+ public static coreUserGroupsCreate2(): CancelablePromise<any> {
2338
2530
  return __request(OpenAPI, {
2339
2531
  method: 'POST',
2340
2532
  url: '/api/core/user_groups/',
@@ -2345,7 +2537,7 @@ export class CoreService {
2345
2537
  * @returns void
2346
2538
  * @throws ApiError
2347
2539
  */
2348
- public static coreUserGroupsDestroy(): CancelablePromise<void> {
2540
+ public static coreUserGroupsDestroy2(): CancelablePromise<void> {
2349
2541
  return __request(OpenAPI, {
2350
2542
  method: 'DELETE',
2351
2543
  url: '/api/core/user_groups/',
@@ -1,35 +0,0 @@
1
- /**
2
- * Lightweight serializer for listing artifact versions.
3
- * Excludes the potentially large content field.
4
- */
5
- export type ArtifactVersionList = {
6
- readonly id: number;
7
- /**
8
- * The artifact this version belongs to
9
- */
10
- readonly artifact: number;
11
- /**
12
- * Whether this version is the current/active version
13
- */
14
- readonly is_current: boolean;
15
- /**
16
- * Sequential version number for display purposes
17
- */
18
- readonly version_number: number;
19
- /**
20
- * When this version was created
21
- */
22
- readonly date_created: string;
23
- /**
24
- * Identifier for who created this version (e.g., 'llm', 'user:username')
25
- */
26
- readonly created_by: string;
27
- /**
28
- * Optional summary of what changed in this version
29
- */
30
- readonly change_summary: string;
31
- /**
32
- * Length of the version content in characters
33
- */
34
- readonly content_length: number;
35
- };
@@ -1,7 +0,0 @@
1
- import type { ArtifactVersionList } from './ArtifactVersionList';
2
- export type PaginatedArtifactVersionListList = {
3
- count: number;
4
- next?: string | null;
5
- previous?: string | null;
6
- results: Array<ArtifactVersionList>;
7
- };
@@ -1,40 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- /**
6
- * Lightweight serializer for listing artifact versions.
7
- * Excludes the potentially large content field.
8
- */
9
- export type ArtifactVersionList = {
10
- readonly id: number;
11
- /**
12
- * The artifact this version belongs to
13
- */
14
- readonly artifact: number;
15
- /**
16
- * Whether this version is the current/active version
17
- */
18
- readonly is_current: boolean;
19
- /**
20
- * Sequential version number for display purposes
21
- */
22
- readonly version_number: number;
23
- /**
24
- * When this version was created
25
- */
26
- readonly date_created: string;
27
- /**
28
- * Identifier for who created this version (e.g., 'llm', 'user:username')
29
- */
30
- readonly created_by: string;
31
- /**
32
- * Optional summary of what changed in this version
33
- */
34
- readonly change_summary: string;
35
- /**
36
- * Length of the version content in characters
37
- */
38
- readonly content_length: number;
39
- };
40
-