@@ -286,13 +286,13 @@ const injectedRtkApi = api.injectEndpoints({
286286 query : ( queryArg ) => ( { url : `/v2/cloudtty` , params : { teamId : queryArg . teamId } } ) ,
287287 } ) ,
288288 deleteAplCloudtty : build . mutation < DeleteAplCloudttyApiResponse , DeleteAplCloudttyApiArg > ( {
289- query : ( ) => ( { url : `/v2/cloudtty` , method : 'DELETE' } ) ,
289+ query : ( queryArg ) => ( { url : `/v2/cloudtty` , method : 'DELETE' , params : { teamId : queryArg . teamId } } ) ,
290290 } ) ,
291291 connectCloudtty : build . query < ConnectCloudttyApiResponse , ConnectCloudttyApiArg > ( {
292292 query : ( queryArg ) => ( { url : `/v1/cloudtty` , params : { teamId : queryArg . teamId } } ) ,
293293 } ) ,
294294 deleteCloudtty : build . mutation < DeleteCloudttyApiResponse , DeleteCloudttyApiArg > ( {
295- query : ( ) => ( { url : `/v1/cloudtty` , method : 'DELETE' } ) ,
295+ query : ( queryArg ) => ( { url : `/v1/cloudtty` , method : 'DELETE' , params : { teamId : queryArg . teamId } } ) ,
296296 } ) ,
297297 getAllUsers : build . query < GetAllUsersApiResponse , GetAllUsersApiArg > ( {
298298 query : ( ) => ( { url : `/v1/users` } ) ,
@@ -4274,7 +4274,10 @@ export type ConnectAplCloudttyApiArg = {
42744274 teamId ?: string
42754275}
42764276export type DeleteAplCloudttyApiResponse = unknown
4277- export type DeleteAplCloudttyApiArg = void
4277+ export type DeleteAplCloudttyApiArg = {
4278+ /** Id of the team */
4279+ teamId ?: string
4280+ }
42784281export type ConnectCloudttyApiResponse = /** status 200 Successfully stored cloudtty configuration */ {
42794282 iFrameUrl ?: string
42804283}
@@ -4283,7 +4286,10 @@ export type ConnectCloudttyApiArg = {
42834286 teamId ?: string
42844287}
42854288export type DeleteCloudttyApiResponse = unknown
4286- export type DeleteCloudttyApiArg = void
4289+ export type DeleteCloudttyApiArg = {
4290+ /** Id of the team */
4291+ teamId ?: string
4292+ }
42874293export type GetAllUsersApiResponse = /** status 200 Successfully obtained all users configuration */ {
42884294 id ?: string
42894295 email : string
0 commit comments