diff --git a/src/constants/api/apiPaths.ts b/src/constants/api/apiPaths.ts index 1149e8c..68f1761 100644 --- a/src/constants/api/apiPaths.ts +++ b/src/constants/api/apiPaths.ts @@ -28,6 +28,20 @@ type PathKeys = | 'setList' | 'setOne' | 'getAllRoutes' + | 'createUpdateService' + | 'deleteService' + | 'getAllService' + | 'getServiceById' + | 'getServicesByDomainId' + | 'createUpdateApplication' + | 'deleteApplication' + | 'getApplicationById' + | 'getAllApplications' + | 'getApplicationsByServiceId' + | 'createToken' + | 'getTokensByAppId' + | 'revokeTokens' + | 'revokeTokensForApp' export const apiPaths: Record = { baseUrl: '/api/kkd-configuration-service', @@ -62,9 +76,25 @@ export const apiPaths: Record = { setLogEvents: '/log/set_events', // ======= APPLICATIONS ====== getSystemTree: '/application/get_system_tree', + getAllApplications: '/application/get_applications', + createUpdateApplication: '/application/create_update_application', + getApplicationsByServiceId: '/application/get_applications_by_service_id', + deleteApplication: '/application/delete_applications', + getApplicationById: '/application/get_application_by_id', // ======= ACCESS_LIST ====== getById: '/access_list/get_by_id', setList: '/access_list/set_list', setOne: '/access_list/set_one', - getAllRoutes: '/routing/get_routes' + getAllRoutes: '/routing/get_routes', + // ======= SERVICE ====== + getServiceById: '/service/get_service_by_id', + getAllService: '/service/get_service', + deleteService: '/service/delete_service', + createUpdateService: '/service/create_update_service', + getServicesByDomainId: '/service/get_services_by_domain_id', + // ======= TOKENS ====== + createToken: '/token/create_token', + getTokensByAppId: '/token/get_tokens_by_app_id', + revokeTokens: '/token/revoke_tokens', + revokeTokensForApp: '/token/revoke_tokens_for_app' }