@@ -222,6 +222,14 @@ const DYNAMIC_ROUTES = {
222222 path : 'certinia/advanced' ,
223223 entryScreens : [ SCREENS . WORKSPACE . ACCOUNTING . ROOT ] ,
224224 } ,
225+ POLICY_ACCOUNTING_CERTINIA_REPORT_EXPORT_STATUS : {
226+ path : 'certinia-report-status/select' ,
227+ entryScreens : [ SCREENS . WORKSPACE . ACCOUNTING . CERTINIA_EXPORT ] ,
228+ } ,
229+ POLICY_ACCOUNTING_CERTINIA_COMPANY_SELECTOR : {
230+ path : 'certinia/company' ,
231+ entryScreens : [ SCREENS . WORKSPACE . ACCOUNTING . ROOT ] ,
232+ } ,
225233 POLICY_ACCOUNTING_NETSUITE_EXPORT_EXPENSES_VENDOR_SELECT : {
226234 path : 'vendor/select' ,
227235 entryScreens : [ SCREENS . WORKSPACE . ACCOUNTING . DYNAMIC_NETSUITE_EXPORT_EXPENSES ] ,
@@ -3944,6 +3952,33 @@ const ROUTES = {
39443952 return `workspaces/${ policyID } /accounting/certinia/advanced` as const ;
39453953 } ,
39463954 } ,
3955+ POLICY_ACCOUNTING_CERTINIA_TAGS_MAPPING : {
3956+ route : 'workspaces/:policyID/accounting/certinia/import/tags-mapping' ,
3957+ getRoute : ( policyID : string | undefined ) => {
3958+ if ( ! policyID ) {
3959+ Log . warn ( 'Invalid policyID is used to build the POLICY_ACCOUNTING_CERTINIA_TAGS_MAPPING route' ) ;
3960+ }
3961+ return `workspaces/${ policyID } /accounting/certinia/import/tags-mapping` as const ;
3962+ } ,
3963+ } ,
3964+ POLICY_ACCOUNTING_CERTINIA_REPORT_EXPORT_STATUS : {
3965+ route : 'workspaces/:policyID/accounting/certinia/export/report-status' ,
3966+ getRoute : ( policyID : string | undefined ) => {
3967+ if ( ! policyID ) {
3968+ Log . warn ( 'Invalid policyID is used to build the POLICY_ACCOUNTING_CERTINIA_REPORT_EXPORT_STATUS route' ) ;
3969+ }
3970+ return `workspaces/${ policyID } /accounting/certinia/export/report-status` as const ;
3971+ } ,
3972+ } ,
3973+ POLICY_ACCOUNTING_CERTINIA_COMPANY_SELECTOR : {
3974+ route : 'workspaces/:policyID/accounting/certinia/company' ,
3975+ getRoute : ( policyID : string | undefined ) => {
3976+ if ( ! policyID ) {
3977+ Log . warn ( 'Invalid policyID is used to build the POLICY_ACCOUNTING_CERTINIA_COMPANY_SELECTOR route' ) ;
3978+ }
3979+ return `workspaces/${ policyID } /accounting/certinia/company` as const ;
3980+ } ,
3981+ } ,
39473982 ADD_EXISTING_EXPENSE : {
39483983 route : 'search/r/:reportID/add-existing-expense/:backToReport?' ,
39493984 getRoute : ( reportID : string | undefined , backToReport ?: string ) => `search/r/${ reportID } /add-existing-expense/${ backToReport ?? '' } ` as const ,
0 commit comments