@@ -239,14 +239,14 @@ export const apiSlice = createApi({
239239 } ) ,
240240 addCreateApp : builder . mutation < void , CreateAppStep1Item > ( {
241241 query : ( body : CreateAppStep1Item ) => ( {
242- url : '/api/apps/appreleaseprocess/createapp ' ,
242+ url : '/api/apps/appReleaseProcess/createApp ' ,
243243 method : 'POST' ,
244244 body,
245245 } ) ,
246246 } ) ,
247247 submitapp : builder . mutation < void , string > ( {
248248 query : ( appId ) => ( {
249- url : `/api/apps/appreleaseprocess /${ appId } /submit` ,
249+ url : `/api/apps/appReleaseProcess /${ appId } /submit` ,
250250 method : 'PUT' ,
251251 } ) ,
252252 } ) ,
@@ -261,7 +261,7 @@ export const apiSlice = createApi({
261261 formData . append ( 'document' , data . body . file )
262262
263263 const response = await fetchWithBaseQuery ( {
264- url : `/api/apps/AppReleaseProcess/updateappdoc /${ data . appId } /documentType/${ data . documentTypeId } /documents` ,
264+ url : `/api/apps/appReleaseProcess/updateAppDoc /${ data . appId } /documentType/${ data . documentTypeId } /documents` ,
265265 method : 'PUT' ,
266266 body : formData ,
267267 } )
@@ -273,56 +273,56 @@ export const apiSlice = createApi({
273273 } ) ,
274274 fetchAppStatus : builder . query < AppStatusDataState , string > ( {
275275 query : ( appId ) =>
276- `api/apps/appreleaseprocess /${ appId } /appStatus?languageShortName=${ i18next . language } ` ,
276+ `api/apps/appReleaseProcess /${ appId } /appStatus?languageShortName=${ i18next . language } ` ,
277277 providesTags : [ Tags . APP ] ,
278278 } ) ,
279279 fetchAgreementData : builder . query < AgreementType [ ] , void > ( {
280280 query : ( ) =>
281- `api/apps/appreleaseprocess /agreementData?languageShortName=${ i18next . language } ` ,
281+ `api/apps/appReleaseProcess /agreementData?languageShortName=${ i18next . language } ` ,
282282 } ) ,
283283 fetchConsentData : builder . query < ConsentType , string > ( {
284- query : ( appId : string ) => `/api/apps/AppReleaseProcess /consent/${ appId } ` ,
284+ query : ( appId : string ) => `/api/apps/appReleaseProcess /consent/${ appId } ` ,
285285 } ) ,
286286 updateAgreementConsents : builder . mutation < void , UpdateAgreementConsentType > (
287287 {
288288 query : ( data : UpdateAgreementConsentType ) => ( {
289- url : `/api/apps/AppReleaseProcess /consent/${ data . appId } /agreementConsents` ,
289+ url : `/api/apps/appReleaseProcess /consent/${ data . appId } /agreementConsents` ,
290290 method : 'POST' ,
291291 body : data . body ,
292292 } ) ,
293293 }
294294 ) ,
295295 fetchSalesManagerData : builder . query < salesManagerType [ ] , void > ( {
296- query : ( ) => '/api/apps/AppReleaseProcess /ownCompany/salesManager' ,
296+ query : ( ) => '/api/apps/appReleaseProcess /ownCompany/salesManager' ,
297297 } ) ,
298298 saveApp : builder . mutation < void , saveAppType > ( {
299299 query : ( data ) => ( {
300- url : `/api/apps/AppReleaseProcess /${ data . appId } ` ,
300+ url : `/api/apps/appReleaseProcess /${ data . appId } ` ,
301301 method : 'PUT' ,
302302 body : data . body ,
303303 } ) ,
304304 } ) ,
305305 deleteAppReleaseDocument : builder . mutation < void , string > ( {
306306 query : ( documentId ) => ( {
307- url : `/api/apps/appreleaseprocess /documents/${ documentId } ` ,
307+ url : `/api/apps/appReleaseProcess /documents/${ documentId } ` ,
308308 method : 'DELETE' ,
309309 } ) ,
310310 invalidatesTags : [ Tags . APP ] ,
311311 } ) ,
312312 fetchAppRolesData : builder . query < updateRolePayload [ ] , string > ( {
313313 query : ( appId : string ) =>
314- `/api/apps/AppReleaseProcess /${ appId } /roles?languageShortName=${ i18next . language } ` ,
314+ `/api/apps/appReleaseProcess /${ appId } /roles?languageShortName=${ i18next . language } ` ,
315315 } ) ,
316316 updateRoleData : builder . mutation < postRolesResponseType [ ] , updateRoleType > ( {
317317 query : ( data ) => ( {
318- url : `/api/apps/appreleaseprocess /${ data . appId } /role` ,
318+ url : `/api/apps/appReleaseProcess /${ data . appId } /role` ,
319319 method : 'POST' ,
320320 body : data . body ,
321321 } ) ,
322322 } ) ,
323323 deleteRoles : builder . mutation < void , deleteRoleType > ( {
324324 query : ( data ) => ( {
325- url : `/api/apps/appreleaseprocess /${ data . appId } /role/${ data . roleId } ` ,
325+ url : `/api/apps/appReleaseProcess /${ data . appId } /role/${ data . roleId } ` ,
326326 method : 'DELETE' ,
327327 } ) ,
328328 } ) ,
@@ -336,7 +336,7 @@ export const apiSlice = createApi({
336336 } ) ,
337337 } ) ,
338338 fetchPrivacyPolicies : builder . query < PrivacyPolicyType , void > ( {
339- query : ( ) => '/api/apps/appreleaseprocess /privacyPolicies' ,
339+ query : ( ) => '/api/apps/appReleaseProcess /privacyPolicies' ,
340340 } ) ,
341341 fetchFrameDocumentById : builder . mutation ( {
342342 query : ( documentId ) => ( {
@@ -352,14 +352,14 @@ export const apiSlice = createApi({
352352 } ) ,
353353 fetchTechnicalUserProfiles : builder . query < TechnicalUserProfiles [ ] , string > ( {
354354 query : ( appId ) =>
355- `/api/apps/appreleaseprocess /${ appId } /technical-user-profiles` ,
355+ `/api/apps/appReleaseProcess /${ appId } /technical-user-profiles` ,
356356 } ) ,
357357 saveTechnicalUserProfiles : builder . mutation <
358358 void ,
359359 updateTechnicalUserProfiles
360360 > ( {
361361 query : ( data ) => ( {
362- url : `/api/apps/appreleaseprocess /${ data . appId } /technical-user-profiles` ,
362+ url : `/api/apps/appReleaseProcess /${ data . appId } /technical-user-profiles` ,
363363 method : 'PUT' ,
364364 body : data . body ,
365365 } ) ,
@@ -375,7 +375,7 @@ export const apiSlice = createApi({
375375 formData . append ( 'document' , data . body . file )
376376
377377 const response = await fetchWithBaseQuery ( {
378- url : `/api/apps/AppChange /${ data . appId } /appLeadImage` ,
378+ url : `/api/apps/appChange /${ data . appId } /appLeadImage` ,
379379 method : 'POST' ,
380380 body : formData ,
381381 } )
@@ -386,35 +386,35 @@ export const apiSlice = createApi({
386386 invalidatesTags : [ Tags . APP ] ,
387387 } ) ,
388388 fetchDescription : builder . query < descriptionTypes [ ] , string > ( {
389- query : ( appId ) => `/api/apps/AppChange /${ appId } /appupdate/description` ,
389+ query : ( appId ) => `/api/apps/appChange /${ appId } /appupdate/description` ,
390390 } ) ,
391391 saveDescription : builder . mutation < void , saveDescriptionTypes > ( {
392392 query : ( data ) => ( {
393- url : `/api/apps/AppChange /${ data . appId } /appupdate/description` ,
393+ url : `/api/apps/appChange /${ data . appId } /appupdate/description` ,
394394 method : 'PUT' ,
395395 body : data . body ,
396396 } ) ,
397397 } ) ,
398398 fetchAppRoles : builder . query < RolesTypes [ ] , string > ( {
399399 query : ( appId ) =>
400- `/api/apps/AppChange /${ appId } /roles?languageShortName=${ i18next . language } ` ,
400+ `/api/apps/appChange /${ appId } /roles?languageShortName=${ i18next . language } ` ,
401401 } ) ,
402402 updateActiveApp : builder . mutation <
403403 postRolesResponseType [ ] ,
404404 UpdateRolesTypes
405405 > ( {
406406 query : ( data ) => ( {
407- url : `/api/apps/AppChange /${ data . appId } /role/activeapp` ,
407+ url : `/api/apps/appChange /${ data . appId } /role/activeapp` ,
408408 method : 'POST' ,
409409 body : data . body ,
410410 } ) ,
411411 } ) ,
412412 fetchAppDocuments : builder . query < ChangeDocumentsTypes , string > ( {
413- query : ( appId ) => `api/apps/appchange /${ appId } /documents` ,
413+ query : ( appId ) => `api/apps/appChange /${ appId } /documents` ,
414414 } ) ,
415415 deleteAppChangeDocument : builder . mutation < void , DocumentRequestData > ( {
416416 query : ( data ) => ( {
417- url : `/api/apps/AppChange /${ data . appId } /document/${ data . documentId } ` ,
417+ url : `/api/apps/appChange /${ data . appId } /document/${ data . documentId } ` ,
418418 method : 'DELETE' ,
419419 } ) ,
420420 invalidatesTags : [ Tags . APP ] ,
@@ -430,7 +430,7 @@ export const apiSlice = createApi({
430430 docFormData . append ( 'document' , data . body . file )
431431
432432 const result = await fetchWithBaseQuery ( {
433- url : `api/apps/AppChange /${ data . appId } /documentType/${ data . documentTypeId } /documents` ,
433+ url : `api/apps/appChange /${ data . appId } /documentType/${ data . documentTypeId } /documents` ,
434434 method : 'POST' ,
435435 body : docFormData ,
436436 } )
0 commit comments