@iblai/iblai-api 4.6.2-dev1-ai → 4.7.0-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 +94 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +94 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +94 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/models/MaskedIntegrationCredential.d.ts +8 -0
- package/dist/types/models/MaskedLLMCredential.d.ts +8 -0
- package/dist/types/models/ToolCategory.d.ts +5 -0
- package/dist/types/models/ToolResponse.d.ts +4 -1
- package/dist/types/services/AiAccountService.d.ts +54 -0
- package/dist/types/services/AiMentorService.d.ts +17 -2
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +3 -0
- package/src/models/MaskedIntegrationCredential.ts +13 -0
- package/src/models/MaskedLLMCredential.ts +13 -0
- package/src/models/ToolCategory.ts +10 -0
- package/src/models/ToolResponse.ts +4 -1
- package/src/services/AiAccountService.ts +82 -0
- package/src/services/AiMentorService.ts +36 -0
|
@@ -127,6 +127,7 @@ import type { SubSection } from '../models/SubSection';
|
|
|
127
127
|
import type { TaskView } from '../models/TaskView';
|
|
128
128
|
import type { TemplateMentor } from '../models/TemplateMentor';
|
|
129
129
|
import type { TicketMessage } from '../models/TicketMessage';
|
|
130
|
+
import type { ToolCategory } from '../models/ToolCategory';
|
|
130
131
|
import type { ToolResponse } from '../models/ToolResponse';
|
|
131
132
|
import type { TriggerRequest } from '../models/TriggerRequest';
|
|
132
133
|
import type { TriggerResponse } from '../models/TriggerResponse';
|
|
@@ -5816,10 +5817,20 @@ export class AiMentorService {
|
|
|
5816
5817
|
mentor,
|
|
5817
5818
|
org,
|
|
5818
5819
|
userId,
|
|
5820
|
+
ordering,
|
|
5821
|
+
search,
|
|
5819
5822
|
}: {
|
|
5820
5823
|
mentor: string,
|
|
5821
5824
|
org: string,
|
|
5822
5825
|
userId: string,
|
|
5826
|
+
/**
|
|
5827
|
+
* Which field to use when ordering the results.
|
|
5828
|
+
*/
|
|
5829
|
+
ordering?: string,
|
|
5830
|
+
/**
|
|
5831
|
+
* A search term.
|
|
5832
|
+
*/
|
|
5833
|
+
search?: string,
|
|
5823
5834
|
}): CancelablePromise<Array<ToolResponse>> {
|
|
5824
5835
|
return __request(OpenAPI, {
|
|
5825
5836
|
method: 'GET',
|
|
@@ -5829,6 +5840,10 @@ export class AiMentorService {
|
|
|
5829
5840
|
'org': org,
|
|
5830
5841
|
'user_id': userId,
|
|
5831
5842
|
},
|
|
5843
|
+
query: {
|
|
5844
|
+
'ordering': ordering,
|
|
5845
|
+
'search': search,
|
|
5846
|
+
},
|
|
5832
5847
|
});
|
|
5833
5848
|
}
|
|
5834
5849
|
/**
|
|
@@ -9858,6 +9873,27 @@ export class AiMentorService {
|
|
|
9858
9873
|
mediaType: 'application/json',
|
|
9859
9874
|
});
|
|
9860
9875
|
}
|
|
9876
|
+
/**
|
|
9877
|
+
* Retrieve Tool Categories
|
|
9878
|
+
* @returns ToolCategory
|
|
9879
|
+
* @throws ApiError
|
|
9880
|
+
*/
|
|
9881
|
+
public static aiMentorOrgsUsersToolCategoriesList({
|
|
9882
|
+
org,
|
|
9883
|
+
userId,
|
|
9884
|
+
}: {
|
|
9885
|
+
org: string,
|
|
9886
|
+
userId: string,
|
|
9887
|
+
}): CancelablePromise<Array<ToolCategory>> {
|
|
9888
|
+
return __request(OpenAPI, {
|
|
9889
|
+
method: 'GET',
|
|
9890
|
+
url: '/api/ai-mentor/orgs/{org}/users/{user_id}/tool-categories/',
|
|
9891
|
+
path: {
|
|
9892
|
+
'org': org,
|
|
9893
|
+
'user_id': userId,
|
|
9894
|
+
},
|
|
9895
|
+
});
|
|
9896
|
+
}
|
|
9861
9897
|
/**
|
|
9862
9898
|
* Retrieve a list of available voice options.
|
|
9863
9899
|
*
|