@iblai/data-layer 1.6.1 → 1.7.0

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.js CHANGED
@@ -39826,6 +39826,12 @@ const mentorApiSlice = react.createApi({
39826
39826
  ...buildEndpointFromDmService(AiMentorService.aiMentorOrgsUsersRecentlyAccessedMentorsList),
39827
39827
  providesTags: ['mentors'],
39828
39828
  }),
39829
+ getVoices: builder.query({
39830
+ ...buildEndpointFromDmService(AiMentorService.aiMentorOrgsUsersVoicesList),
39831
+ }),
39832
+ getVoice: builder.query({
39833
+ ...buildEndpointFromDmService(AiMentorService.aiMentorOrgsUsersVoicesRetrieve),
39834
+ }),
39829
39835
  starMentor: builder.mutation({
39830
39836
  ...buildEndpointFromDmService(AiMentorService.aiMentorOrgsUsersMentorsStarCreate),
39831
39837
  invalidatesTags: ['star-mentors'],
@@ -39874,7 +39880,7 @@ const mentorApiSlice = react.createApi({
39874
39880
  }),
39875
39881
  });
39876
39882
  const mentorApiReducer = mentorApiSlice.reducer;
39877
- const { useCreateMentorMutation, useGetMentorsQuery, useLazyGetMentorsQuery, useEditMentorMutation, useSeedMentorsQuery, useLazySeedMentorsQuery, useGetMentorDetailsQuery, useLazyGetMentorDetailsQuery, useGetMentorSettingsQuery, useLazyGetMentorSettingsQuery, useGetMentorPublicSettingsQuery, useLazyGetMentorPublicSettingsQuery, useEditMentorAndRefreshListMutation, useGetFreeUsageCountQuery, useLazyGetFreeUsageCountQuery, useCreateShareableLinkMutation, useGetShareableLinkQuery, useLazyGetShareableLinkQuery, useGetShareableLinkPublicQuery, useLazyGetShareableLinkPublicQuery, useRevokeShareableLinkMutation, useUpdateShareableLinkMutation, useUpdateChatSessionSharedMutation, useDeleteMentorMutation, useForkMentorMutation, useGetPublicMentorsQuery, useLazyGetPublicMentorsQuery, useGetRecentlyAccessedMentorsQuery, useLazyGetRecentlyAccessedMentorsQuery, useStarMentorMutation, useUnstarMentorMutation, useStarredMentorsQuery, useLazyStarredMentorsQuery, useUpdateChatSessionMutation, useGetChatMessagesForSessionQuery, useLazyGetChatMessagesForSessionQuery, } = mentorApiSlice;
39883
+ const { useCreateMentorMutation, useGetMentorsQuery, useLazyGetMentorsQuery, useEditMentorMutation, useSeedMentorsQuery, useLazySeedMentorsQuery, useGetMentorDetailsQuery, useLazyGetMentorDetailsQuery, useGetMentorSettingsQuery, useLazyGetMentorSettingsQuery, useGetMentorPublicSettingsQuery, useLazyGetMentorPublicSettingsQuery, useEditMentorAndRefreshListMutation, useGetFreeUsageCountQuery, useLazyGetFreeUsageCountQuery, useCreateShareableLinkMutation, useGetShareableLinkQuery, useLazyGetShareableLinkQuery, useGetShareableLinkPublicQuery, useLazyGetShareableLinkPublicQuery, useRevokeShareableLinkMutation, useUpdateShareableLinkMutation, useUpdateChatSessionSharedMutation, useDeleteMentorMutation, useForkMentorMutation, useGetPublicMentorsQuery, useLazyGetPublicMentorsQuery, useGetRecentlyAccessedMentorsQuery, useLazyGetRecentlyAccessedMentorsQuery, useStarMentorMutation, useUnstarMentorMutation, useStarredMentorsQuery, useLazyStarredMentorsQuery, useUpdateChatSessionMutation, useGetChatMessagesForSessionQuery, useLazyGetChatMessagesForSessionQuery, useGetVoicesQuery, useLazyGetVoicesQuery, useGetVoiceQuery, useLazyGetVoiceQuery, } = mentorApiSlice;
39878
39884
 
39879
39885
  const mentorCategoriesApiSlice = react.createApi({
39880
39886
  reducerPath: 'mentorCategoriesApiSlice',
@@ -40444,30 +40450,127 @@ const coreApiSlice = react.createApi({
40444
40450
  }),
40445
40451
  //RBAC ROLES
40446
40452
  getRbacRoles: builder.query({
40447
- ...buildEndpointFromDmService(CoreService.coreRbacRolesList),
40453
+ ...buildEndpointFromService(exports.SERVICES.DM, async (args) => {
40454
+ const queryParams = new URLSearchParams({ include_global_roles: 'true' });
40455
+ if (args.platformKey)
40456
+ queryParams.set('platform_key', args.platformKey);
40457
+ if (args.name)
40458
+ queryParams.set('name', args.name);
40459
+ if (args.page !== undefined)
40460
+ queryParams.set('page', String(args.page));
40461
+ if (args.pageSize !== undefined)
40462
+ queryParams.set('page_size', String(args.pageSize));
40463
+ const url = `${OpenAPI.BASE}/api/core/rbac/roles/?${queryParams.toString()}`;
40464
+ const response = await fetch(url, {
40465
+ method: 'GET',
40466
+ headers: OpenAPI.HEADERS,
40467
+ credentials: 'omit',
40468
+ });
40469
+ if (!response.ok) {
40470
+ throw Object.assign(new Error('Failed to fetch RBAC roles'), {
40471
+ status: response.status,
40472
+ body: await response.text(),
40473
+ });
40474
+ }
40475
+ return response.json();
40476
+ }),
40448
40477
  providesTags: ['RbacRoles'],
40449
40478
  }),
40450
40479
  createRbacRole: builder.mutation({
40451
- ...buildEndpointFromDmService(CoreService.coreRbacRolesCreate),
40480
+ ...buildEndpointFromService(exports.SERVICES.DM, async (args) => {
40481
+ const url = `${OpenAPI.BASE}/api/core/rbac/roles/?include_global_roles=true`;
40482
+ const response = await fetch(url, {
40483
+ method: 'POST',
40484
+ headers: {
40485
+ ...OpenAPI.HEADERS,
40486
+ 'Content-Type': 'application/json',
40487
+ },
40488
+ credentials: 'omit',
40489
+ body: JSON.stringify(args.requestBody),
40490
+ });
40491
+ if (!response.ok) {
40492
+ throw Object.assign(new Error('Failed to create RBAC role'), {
40493
+ status: response.status,
40494
+ body: await response.text(),
40495
+ });
40496
+ }
40497
+ return response.json();
40498
+ }),
40452
40499
  invalidatesTags: ['RbacRoles'],
40453
40500
  }),
40454
40501
  updateRbacRole: builder.mutation({
40455
- ...buildEndpointFromDmService(CoreService.coreRbacRolesUpdate),
40502
+ ...buildEndpointFromService(exports.SERVICES.DM, async (args) => {
40503
+ const url = `${OpenAPI.BASE}/api/core/rbac/roles/${args.id}/?include_global_roles=true`;
40504
+ const response = await fetch(url, {
40505
+ method: 'PUT',
40506
+ headers: {
40507
+ ...OpenAPI.HEADERS,
40508
+ 'Content-Type': 'application/json',
40509
+ },
40510
+ credentials: 'omit',
40511
+ body: JSON.stringify(args.requestBody),
40512
+ });
40513
+ if (!response.ok) {
40514
+ throw Object.assign(new Error('Failed to update RBAC role'), {
40515
+ status: response.status,
40516
+ body: await response.text(),
40517
+ });
40518
+ }
40519
+ return response.json();
40520
+ }),
40456
40521
  invalidatesTags: ['RbacRoles'],
40457
40522
  }),
40458
40523
  partialUpdateRbacRole: builder.mutation({
40459
- ...buildEndpointFromDmService(CoreService.coreRbacRolesPartialUpdate),
40524
+ ...buildEndpointFromService(exports.SERVICES.DM, async (args) => {
40525
+ var _a;
40526
+ const url = `${OpenAPI.BASE}/api/core/rbac/roles/${args.id}/?include_global_roles=true`;
40527
+ const response = await fetch(url, {
40528
+ method: 'PATCH',
40529
+ headers: {
40530
+ ...OpenAPI.HEADERS,
40531
+ 'Content-Type': 'application/json',
40532
+ },
40533
+ credentials: 'omit',
40534
+ body: JSON.stringify((_a = args.requestBody) !== null && _a !== void 0 ? _a : {}),
40535
+ });
40536
+ if (!response.ok) {
40537
+ throw Object.assign(new Error('Failed to partially update RBAC role'), {
40538
+ status: response.status,
40539
+ body: await response.text(),
40540
+ });
40541
+ }
40542
+ return response.json();
40543
+ }),
40460
40544
  invalidatesTags: ['RbacRoles'],
40461
40545
  }),
40462
40546
  deleteRbacRole: builder.mutation({
40463
- ...buildEndpointFromDmService(CoreService.coreRbacRolesDestroy),
40547
+ ...buildEndpointFromService(exports.SERVICES.DM, async (args) => {
40548
+ const queryParams = new URLSearchParams({
40549
+ include_global_roles: 'true',
40550
+ platform_key: args.platformKey,
40551
+ });
40552
+ const url = `${OpenAPI.BASE}/api/core/rbac/roles/${args.id}/?${queryParams.toString()}`;
40553
+ const response = await fetch(url, {
40554
+ method: 'DELETE',
40555
+ headers: OpenAPI.HEADERS,
40556
+ credentials: 'omit',
40557
+ });
40558
+ if (!response.ok) {
40559
+ throw Object.assign(new Error('Failed to delete RBAC role'), {
40560
+ status: response.status,
40561
+ body: await response.text(),
40562
+ });
40563
+ }
40564
+ }),
40464
40565
  invalidatesTags: ['RbacRoles'],
40465
40566
  }),
40466
40567
  getRbacRoleDetails: builder.query({
40467
40568
  ...buildEndpointFromService(exports.SERVICES.DM, async (args) => {
40468
- const queryParams = new URLSearchParams({ platform_key: args.platform_key });
40469
- const queryString = queryParams.toString();
40470
- const url = `${OpenAPI.BASE}/api/core/rbac/roles/${args.id}/?${queryString}`;
40569
+ const queryParams = new URLSearchParams({
40570
+ include_global_roles: 'true',
40571
+ platform_key: args.platform_key,
40572
+ });
40573
+ const url = `${OpenAPI.BASE}/api/core/rbac/roles/${args.id}/?${queryParams.toString()}`;
40471
40574
  const response = await fetch(url, {
40472
40575
  method: 'GET',
40473
40576
  headers: OpenAPI.HEADERS,
@@ -42846,6 +42949,133 @@ const mentorCustomApiSlice = react.createApi({
42846
42949
  });
42847
42950
  const { useGetCustomMentorsQuery, useLazyGetCustomMentorsQuery, useGetMentorSummariesQuery, useLazyGetMentorSummariesQuery, useGetConversationMemoriesQuery, useLazyGetConversationMemoriesQuery, useEditMentorJsonMutation, } = mentorCustomApiSlice;
42848
42951
 
42952
+ const CALL_CONFIGURATIONS_REDUCER_PATH = 'callConfigurationsApiSlice';
42953
+ const CALL_CONFIGURATIONS_ENDPOINTS = {
42954
+ LIST: {
42955
+ service: exports.SERVICES.DM,
42956
+ path: (org, userId) => `/api/ai-mentor/orgs/${org}/users/${userId}/call-configurations/`,
42957
+ },
42958
+ DETAIL: {
42959
+ service: exports.SERVICES.DM,
42960
+ path: (org, userId, id) => `/api/ai-mentor/orgs/${org}/users/${userId}/call-configurations/${id}/`,
42961
+ },
42962
+ };
42963
+ const CALL_CONFIGURATIONS_TAGS = {
42964
+ LIST: 'callConfigurations',
42965
+ DETAIL: 'callConfiguration',
42966
+ };
42967
+
42968
+ /**
42969
+ * The mentor settings endpoint embeds the current call configuration in
42970
+ * its response (`mentorSettings.call_configuration`). When we
42971
+ * create/update a CallConfiguration we therefore need to also bust the
42972
+ * `mentorSettings` cache in the sibling `mentorApiSlice`, otherwise the
42973
+ * edit-mentor modal will keep showing the pre-save snapshot.
42974
+ */
42975
+ async function invalidateMentorSettingsAfterCallConfigChange(arg, { dispatch, queryFulfilled }) {
42976
+ try {
42977
+ await queryFulfilled;
42978
+ if (arg.mentorId) {
42979
+ dispatch(mentorApiSlice.util.invalidateTags([
42980
+ { type: 'mentorSettings', id: arg.mentorId },
42981
+ { type: 'mentor', id: arg.mentorId },
42982
+ ]));
42983
+ }
42984
+ }
42985
+ catch (error) {
42986
+ console.error('Failed to invalidate mentor settings after call-config change:', error);
42987
+ }
42988
+ }
42989
+ const callConfigurationsApiSlice = react.createApi({
42990
+ reducerPath: CALL_CONFIGURATIONS_REDUCER_PATH,
42991
+ baseQuery: iblFetchBaseQuery,
42992
+ tagTypes: [CALL_CONFIGURATIONS_TAGS.LIST, CALL_CONFIGURATIONS_TAGS.DETAIL],
42993
+ endpoints: (builder) => ({
42994
+ getCallConfigurations: builder.query({
42995
+ query: ({ org, userId, mentor, mode, search }) => ({
42996
+ url: CALL_CONFIGURATIONS_ENDPOINTS.LIST.path(org, userId),
42997
+ service: CALL_CONFIGURATIONS_ENDPOINTS.LIST.service,
42998
+ params: {
42999
+ ...(mentor ? { mentor } : {}),
43000
+ ...(mode ? { mode } : {}),
43001
+ ...(search ? { search } : {}),
43002
+ },
43003
+ }),
43004
+ providesTags: (result, _error, arg) => {
43005
+ var _a, _b;
43006
+ return result
43007
+ ? [
43008
+ { type: CALL_CONFIGURATIONS_TAGS.LIST, id: (_a = arg.mentor) !== null && _a !== void 0 ? _a : 'ALL' },
43009
+ ...result.map((c) => ({ type: CALL_CONFIGURATIONS_TAGS.DETAIL, id: c.id })),
43010
+ ]
43011
+ : [{ type: CALL_CONFIGURATIONS_TAGS.LIST, id: (_b = arg.mentor) !== null && _b !== void 0 ? _b : 'ALL' }];
43012
+ },
43013
+ }),
43014
+ getCallConfiguration: builder.query({
43015
+ query: ({ org, userId, id }) => ({
43016
+ url: CALL_CONFIGURATIONS_ENDPOINTS.DETAIL.path(org, userId, id),
43017
+ service: CALL_CONFIGURATIONS_ENDPOINTS.DETAIL.service,
43018
+ }),
43019
+ providesTags: (_result, _error, arg) => [
43020
+ { type: CALL_CONFIGURATIONS_TAGS.DETAIL, id: arg.id },
43021
+ ],
43022
+ }),
43023
+ createCallConfiguration: builder.mutation({
43024
+ query: ({ org, userId, requestBody }) => ({
43025
+ url: CALL_CONFIGURATIONS_ENDPOINTS.LIST.path(org, userId),
43026
+ service: CALL_CONFIGURATIONS_ENDPOINTS.LIST.service,
43027
+ method: 'POST',
43028
+ body: requestBody,
43029
+ }),
43030
+ invalidatesTags: (_result, _error, arg) => {
43031
+ var _a;
43032
+ return [
43033
+ { type: CALL_CONFIGURATIONS_TAGS.LIST, id: (_a = arg.requestBody.mentor) !== null && _a !== void 0 ? _a : 'ALL' },
43034
+ { type: CALL_CONFIGURATIONS_TAGS.LIST, id: 'ALL' },
43035
+ ];
43036
+ },
43037
+ async onQueryStarted(arg, api) {
43038
+ var _a;
43039
+ await invalidateMentorSettingsAfterCallConfigChange({ mentorId: (_a = arg.requestBody) === null || _a === void 0 ? void 0 : _a.mentor }, api);
43040
+ },
43041
+ }),
43042
+ updateCallConfiguration: builder.mutation({
43043
+ query: ({ org, userId, id, requestBody }) => ({
43044
+ url: CALL_CONFIGURATIONS_ENDPOINTS.DETAIL.path(org, userId, id),
43045
+ service: CALL_CONFIGURATIONS_ENDPOINTS.DETAIL.service,
43046
+ method: 'PATCH',
43047
+ body: requestBody,
43048
+ }),
43049
+ invalidatesTags: (_result, _error, arg) => [
43050
+ { type: CALL_CONFIGURATIONS_TAGS.DETAIL, id: arg.id },
43051
+ { type: CALL_CONFIGURATIONS_TAGS.LIST, id: 'ALL' },
43052
+ ],
43053
+ async onQueryStarted(arg, api) {
43054
+ var _a, _b;
43055
+ // The PATCH response carries the mentor on `result.data.mentor`.
43056
+ // Fall back to `arg.requestBody.mentor` if the partial-update
43057
+ // doesn't echo `mentor` back, and finally to undefined (no-op).
43058
+ let mentorId = (_a = arg.requestBody) === null || _a === void 0 ? void 0 : _a.mentor;
43059
+ try {
43060
+ const { data } = await api.queryFulfilled;
43061
+ mentorId = (_b = data === null || data === void 0 ? void 0 : data.mentor) !== null && _b !== void 0 ? _b : mentorId;
43062
+ }
43063
+ catch (_c) {
43064
+ return;
43065
+ }
43066
+ if (mentorId) {
43067
+ api.dispatch(mentorApiSlice.util.invalidateTags([
43068
+ { type: 'mentorSettings', id: mentorId },
43069
+ { type: 'mentor', id: mentorId },
43070
+ ]));
43071
+ }
43072
+ },
43073
+ }),
43074
+ }),
43075
+ });
43076
+ const callConfigurationsApiReducer = callConfigurationsApiSlice.reducer;
43077
+ const { useGetCallConfigurationsQuery, useLazyGetCallConfigurationsQuery, useGetCallConfigurationQuery, useLazyGetCallConfigurationQuery, useCreateCallConfigurationMutation, useUpdateCallConfigurationMutation, } = callConfigurationsApiSlice;
43078
+
42849
43079
  const moderationLogsApiSlice = react.createApi({
42850
43080
  reducerPath: 'moderationLogsApiSlice',
42851
43081
  baseQuery: react.fakeBaseQuery(),
@@ -45146,6 +45376,7 @@ const mentorReducer = {
45146
45376
  [notificationsApiSlice.reducerPath]: notificationsApiSlice.reducer,
45147
45377
  [notificationsCustomApiSlice.reducerPath]: notificationsCustomApiSlice.reducer,
45148
45378
  [mentorCustomApiSlice.reducerPath]: mentorCustomApiSlice.reducer,
45379
+ [callConfigurationsApiSlice.reducerPath]: callConfigurationsApiSlice.reducer,
45149
45380
  [moderationLogsApiSlice.reducerPath]: moderationLogsApiSlice.reducer,
45150
45381
  [catalogApiSlice.reducerPath]: catalogApiSlice.reducer,
45151
45382
  [searchApiSlice.reducerPath]: searchApiSlice.reducer,
@@ -45200,6 +45431,7 @@ const mentorMiddleware = [
45200
45431
  notificationsApiSlice.middleware,
45201
45432
  notificationsCustomApiSlice.middleware,
45202
45433
  mentorCustomApiSlice.middleware,
45434
+ callConfigurationsApiSlice.middleware,
45203
45435
  moderationLogsApiSlice.middleware,
45204
45436
  catalogApiSlice.middleware,
45205
45437
  searchApiSlice.middleware,
@@ -45247,6 +45479,7 @@ const skillsReducer = {
45247
45479
  [notificationsApiSlice.reducerPath]: notificationsApiSlice.reducer,
45248
45480
  [notificationsCustomApiSlice.reducerPath]: notificationsCustomApiSlice.reducer,
45249
45481
  [mentorCustomApiSlice.reducerPath]: mentorCustomApiSlice.reducer,
45482
+ [callConfigurationsApiSlice.reducerPath]: callConfigurationsApiSlice.reducer,
45250
45483
  [platformCustomApiSlice.reducerPath]: platformCustomApiSlice.reducer,
45251
45484
  [coreCustomApiSlice.reducerPath]: coreCustomApiSlice.reducer,
45252
45485
  [edxProctoringApiSlice.reducerPath]: edxProctoringApiSlice.reducer,
@@ -45287,6 +45520,7 @@ const skillsMiddleware = [
45287
45520
  notificationsApiSlice.middleware,
45288
45521
  notificationsCustomApiSlice.middleware,
45289
45522
  mentorCustomApiSlice.middleware,
45523
+ callConfigurationsApiSlice.middleware,
45290
45524
  platformCustomApiSlice.middleware,
45291
45525
  coreCustomApiSlice.middleware,
45292
45526
  edxProctoringApiSlice.middleware,
@@ -45321,6 +45555,9 @@ exports.APP_IDENTIFIERS = APP_IDENTIFIERS;
45321
45555
  exports.AUDIT_LOGS_ENDPOINTS = AUDIT_LOGS_ENDPOINTS;
45322
45556
  exports.AUDIT_LOGS_QUERY_KEYS = AUDIT_LOGS_QUERY_KEYS;
45323
45557
  exports.AUDIT_LOGS_REDUCER_PATH = AUDIT_LOGS_REDUCER_PATH;
45558
+ exports.CALL_CONFIGURATIONS_ENDPOINTS = CALL_CONFIGURATIONS_ENDPOINTS;
45559
+ exports.CALL_CONFIGURATIONS_REDUCER_PATH = CALL_CONFIGURATIONS_REDUCER_PATH;
45560
+ exports.CALL_CONFIGURATIONS_TAGS = CALL_CONFIGURATIONS_TAGS;
45324
45561
  exports.CLAW_ENDPOINTS = CLAW_ENDPOINTS;
45325
45562
  exports.CLAW_REDUCER_PATH = CLAW_REDUCER_PATH;
45326
45563
  exports.CLAW_TAG_TYPES = CLAW_TAG_TYPES;
@@ -45397,6 +45634,8 @@ exports.auditLogsApiSlice = auditLogsApiSlice;
45397
45634
  exports.authApiSlice = authApiSlice;
45398
45635
  exports.billingApiSlice = billingApiSlice;
45399
45636
  exports.billingCustomSlice = billingCustomSlice;
45637
+ exports.callConfigurationsApiReducer = callConfigurationsApiReducer;
45638
+ exports.callConfigurationsApiSlice = callConfigurationsApiSlice;
45400
45639
  exports.careerApiSlice = careerApiSlice;
45401
45640
  exports.catalogApiSlice = catalogApiSlice;
45402
45641
  exports.chatApiSlice = chatApiSlice;
@@ -45473,6 +45712,7 @@ exports.useCreateAdminProjectMutation = useCreateAdminProjectMutation;
45473
45712
  exports.useCreateAgentSkillMutation = useCreateAgentSkillMutation;
45474
45713
  exports.useCreateAgentSkillResourceMutation = useCreateAgentSkillResourceMutation;
45475
45714
  exports.useCreateApiKeyMutation = useCreateApiKeyMutation;
45715
+ exports.useCreateCallConfigurationMutation = useCreateCallConfigurationMutation;
45476
45716
  exports.useCreateCallCredentialsMutation = useCreateCallCredentialsMutation;
45477
45717
  exports.useCreateCatalogInvitationBulkMutation = useCreateCatalogInvitationBulkMutation;
45478
45718
  exports.useCreateCatalogInvitationCourseBulkMutation = useCreateCatalogInvitationCourseBulkMutation;
@@ -45602,6 +45842,8 @@ exports.useGetAssignedProgramsQuery = useGetAssignedProgramsQuery;
45602
45842
  exports.useGetAuditLogsQuery = useGetAuditLogsQuery;
45603
45843
  exports.useGetAverageMessagesPerSessionQuery = useGetAverageMessagesPerSessionQuery;
45604
45844
  exports.useGetAverageRatingQuery = useGetAverageRatingQuery;
45845
+ exports.useGetCallConfigurationQuery = useGetCallConfigurationQuery;
45846
+ exports.useGetCallConfigurationsQuery = useGetCallConfigurationsQuery;
45605
45847
  exports.useGetCatalogInvitationsCourseQuery = useGetCatalogInvitationsCourseQuery;
45606
45848
  exports.useGetCatalogInvitationsProgramQuery = useGetCatalogInvitationsProgramQuery;
45607
45849
  exports.useGetCatalogSearchQuery = useGetCatalogSearchQuery;
@@ -45783,6 +46025,8 @@ exports.useGetUserTenantsQuery = useGetUserTenantsQuery;
45783
46025
  exports.useGetUsersAsAssertionsQuery = useGetUsersAsAssertionsQuery;
45784
46026
  exports.useGetUsersStatsQuery = useGetUsersStatsQuery;
45785
46027
  exports.useGetVectorDocumentsQuery = useGetVectorDocumentsQuery;
46028
+ exports.useGetVoiceQuery = useGetVoiceQuery;
46029
+ exports.useGetVoicesQuery = useGetVoicesQuery;
45786
46030
  exports.useGetWatchedGroupQuery = useGetWatchedGroupQuery;
45787
46031
  exports.useGetWatchedGroupsQuery = useGetWatchedGroupsQuery;
45788
46032
  exports.useGetWatchedUsersQuery = useGetWatchedUsersQuery;
@@ -45807,6 +46051,8 @@ exports.useLazyGetArtifactQuery = useLazyGetArtifactQuery;
45807
46051
  exports.useLazyGetArtifactVersionQuery = useLazyGetArtifactVersionQuery;
45808
46052
  exports.useLazyGetAssignedProgramsQuery = useLazyGetAssignedProgramsQuery;
45809
46053
  exports.useLazyGetAuditLogsQuery = useLazyGetAuditLogsQuery;
46054
+ exports.useLazyGetCallConfigurationQuery = useLazyGetCallConfigurationQuery;
46055
+ exports.useLazyGetCallConfigurationsQuery = useLazyGetCallConfigurationsQuery;
45810
46056
  exports.useLazyGetCatalogInvitationsCourseQuery = useLazyGetCatalogInvitationsCourseQuery;
45811
46057
  exports.useLazyGetCatalogInvitationsProgramQuery = useLazyGetCatalogInvitationsProgramQuery;
45812
46058
  exports.useLazyGetCatalogSearchQuery = useLazyGetCatalogSearchQuery;
@@ -45947,6 +46193,8 @@ exports.useLazyGetUserSkillsPointsQuery = useLazyGetUserSkillsPointsQuery;
45947
46193
  exports.useLazyGetUserTenantsQuery = useLazyGetUserTenantsQuery;
45948
46194
  exports.useLazyGetUsersAsAssertionsQuery = useLazyGetUsersAsAssertionsQuery;
45949
46195
  exports.useLazyGetVectorDocumentsQuery = useLazyGetVectorDocumentsQuery;
46196
+ exports.useLazyGetVoiceQuery = useLazyGetVoiceQuery;
46197
+ exports.useLazyGetVoicesQuery = useLazyGetVoicesQuery;
45950
46198
  exports.useLazyGetWatchedGroupQuery = useLazyGetWatchedGroupQuery;
45951
46199
  exports.useLazyGetWatchedGroupsQuery = useLazyGetWatchedGroupsQuery;
45952
46200
  exports.useLazyGetWatchedUsersQuery = useLazyGetWatchedUsersQuery;
@@ -46012,6 +46260,7 @@ exports.useUpdateAgentSkillMutation = useUpdateAgentSkillMutation;
46012
46260
  exports.useUpdateAgentSkillResourceMutation = useUpdateAgentSkillResourceMutation;
46013
46261
  exports.useUpdateArtifactMutation = useUpdateArtifactMutation;
46014
46262
  exports.useUpdateAutoRechargeInfoMutation = useUpdateAutoRechargeInfoMutation;
46263
+ exports.useUpdateCallConfigurationMutation = useUpdateCallConfigurationMutation;
46015
46264
  exports.useUpdateChatSessionMutation = useUpdateChatSessionMutation;
46016
46265
  exports.useUpdateChatSessionSharedMutation = useUpdateChatSessionSharedMutation;
46017
46266
  exports.useUpdateClawInstanceMutation = useUpdateClawInstanceMutation;