From 4f8ff95547a0b4fcf8a5b3e0e707ac19382689b5 Mon Sep 17 00:00:00 2001 From: Jay Sheen Date: Mon, 22 Sep 2025 10:37:13 +0900 Subject: [PATCH] Fix TypeScript errors and add paymentAgency routes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added paymentAgency route definition to route-names.ts - Added paymentAgency paths configuration to paths.ts - Fixed settlementAgency base path generation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/shared/constants/paths.ts | 9 ++++++++- src/shared/constants/route-names.ts | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/shared/constants/paths.ts b/src/shared/constants/paths.ts index ec3fc78..2a6472b 100644 --- a/src/shared/constants/paths.ts +++ b/src/shared/constants/paths.ts @@ -247,7 +247,7 @@ export const PATHS: RouteNamesType = { ), }, settlementAgency: { - base: generatePath(`${ROUTE_NAMES.additionalService.base}${ROUTE_NAMES.additionalService.payout.base}`), + base: generatePath(`${ROUTE_NAMES.additionalService.base}${ROUTE_NAMES.additionalService.settlementAgency.base}`), manage: generatePath( `${ROUTE_NAMES.additionalService.base}${ROUTE_NAMES.additionalService.settlementAgency.base}`, ROUTE_NAMES.additionalService.settlementAgency.manage, @@ -284,6 +284,13 @@ export const PATHS: RouteNamesType = { ROUTE_NAMES.additionalService.payout.request, ), }, + paymentAgency: { + base: generatePath(`${ROUTE_NAMES.additionalService.base}${ROUTE_NAMES.additionalService.paymentAgency.base}`), + list: generatePath( + `${ROUTE_NAMES.additionalService.base}${ROUTE_NAMES.additionalService.paymentAgency.base}`, + ROUTE_NAMES.additionalService.paymentAgency.list, + ), + }, }, support: { base: generatePath(ROUTE_NAMES.support.base), diff --git a/src/shared/constants/route-names.ts b/src/shared/constants/route-names.ts index 2c7f4ec..42e504e 100644 --- a/src/shared/constants/route-names.ts +++ b/src/shared/constants/route-names.ts @@ -125,6 +125,10 @@ export const ROUTE_NAMES = { detail: 'detail', request: 'request', }, + paymentAgency: { + base: '/payment-agency/*', + list: 'list', + }, }, support: {