@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.
@@ -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
  *