@@ -490,6 +490,9 @@ const injectedRtkApi = api.injectEndpoints({
490490 getAllAplWorkloads : build . query < GetAllAplWorkloadsApiResponse , GetAllAplWorkloadsApiArg > ( {
491491 query : ( ) => ( { url : `/v2/workloads` } ) ,
492492 } ) ,
493+ getAllAplWorkloadNames : build . query < GetAllAplWorkloadNamesApiResponse , GetAllAplWorkloadNamesApiArg > ( {
494+ query : ( ) => ( { url : `/v2/workloadNames` } ) ,
495+ } ) ,
493496 getTeamAplWorkloads : build . query < GetTeamAplWorkloadsApiResponse , GetTeamAplWorkloadsApiArg > ( {
494497 query : ( queryArg ) => ( { url : `/v2/teams/${ queryArg . teamId } /workloads` } ) ,
495498 } ) ,
@@ -6840,6 +6843,15 @@ export type GetAllAplWorkloadsApiResponse = /** status 200 Successfully obtained
68406843 }
68416844} ) [ ]
68426845export type GetAllAplWorkloadsApiArg = void
6846+ export type GetAllAplWorkloadNamesApiResponse = /** status 200 Successfully obtained all workload names */ {
6847+ metadata ?: {
6848+ labels ?: {
6849+ [ key : string ] : string
6850+ }
6851+ name ?: string
6852+ }
6853+ } [ ]
6854+ export type GetAllAplWorkloadNamesApiArg = void
68436855export type GetTeamAplWorkloadsApiResponse = /** status 200 Successfully obtained team workloads configuration */ ( {
68446856 kind : 'AplTeamWorkload'
68456857 spec : {
@@ -8001,6 +8013,7 @@ export const {
80018013 useGetWorkloadValuesQuery,
80028014 useEditWorkloadValuesMutation,
80038015 useGetAllAplWorkloadsQuery,
8016+ useGetAllAplWorkloadNamesQuery,
80048017 useGetTeamAplWorkloadsQuery,
80058018 useCreateAplWorkloadMutation,
80068019 useDeleteAplWorkloadMutation,
0 commit comments