Files
upstream-mirror 30810eecd7
Some checks failed
Create issues from TODOs / todos (push) Failing after 3s
Close inactive issues / close-issues (push) Has been cancelled
Deploy GitHub Pages / deploy-preview (push) Has been cancelled
CI / ⚙️ Variables Setup (push) Has been cancelled
CI / ⚙️ Test Guard (push) Has been cancelled
CI / 🚀 Notify external services - draft (push) Has been cancelled
CI / 📦 Build Packages (push) Has been cancelled
CI / 📦 Meteor Build (coverage) (push) Has been cancelled
CI / 📦 Meteor Build (production) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], fips) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Publish Docker Images (ghcr.io) (push) Has been cancelled
CI / 📦 Track Image Sizes (push) Has been cancelled
CI / 🔎 Code Check - Action Lint (push) Has been cancelled
CI / 🔎 Code Check (push) Has been cancelled
CI / 🔨 Test Storybook (push) Has been cancelled
CI / 🔨 Test Unit (push) Has been cancelled
CI / 🔨 Test API (CE) (push) Has been cancelled
CI / 🔨 Test API Livechat (CE) (push) Has been cancelled
CI / 🔨 Test UI (CE) (push) Has been cancelled
CI / 🔨 Test API (EE) (push) Has been cancelled
CI / 🔨 Test API Livechat (EE) (push) Has been cancelled
CI / 🔨 Test API Apps (deno-runtime - EE) (push) Has been cancelled
CI / 🔨 Test UI (EE) (push) Has been cancelled
CI / 🔨 Test API (FIPS) (push) Has been cancelled
CI / 🔨 Test API Livechat (FIPS) (push) Has been cancelled
CI / 🔨 Test UI (FIPS) (push) Has been cancelled
CI / 🔨 Test Federation Matrix (push) Has been cancelled
CI / 📊 Report Coverage (push) Has been cancelled
CI / ✅ Tests Done (push) Has been cancelled
CI / 🚀 Publish build assets (push) Has been cancelled
CI / 🚀 Publish Docker Images (DockerHub) (push) Has been cancelled
CI / 🚀 Notify external services (push) Has been cancelled
CI / Update Version Durability (push) Has been cancelled
Release / Release (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Failing after 2s
Auto-close duplicate issues / auto-close-duplicates (push) Failing after 1s
snapshot of https://github.com/RocketChat/Rocket.Chat.git (develop, 2026-09-16; blobs > 131072B omitted)
2026-09-16 01:21:02 +05:00

207 lines
6.6 KiB
TypeScript

import { lazy } from 'react';
import { createRouteGroup } from '../../lib/createRouteGroup';
declare module '@rocket.chat/ui-contexts' {
interface IRouterPaths {
'omnichannel-index': {
pattern: '/omnichannel';
pathname: '/omnichannel';
};
'omnichannel-installation': {
pattern: '/omnichannel/installation';
pathname: '/omnichannel/installation';
};
'omnichannel-managers': {
pattern: '/omnichannel/managers';
pathname: '/omnichannel/managers';
};
'omnichannel-agents': {
pattern: '/omnichannel/agents/:context?/:id?';
pathname: `/omnichannel/agents${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-webhooks': {
pattern: '/omnichannel/webhooks';
pathname: '/omnichannel/webhooks';
};
'omnichannel-customfields': {
pattern: '/omnichannel/customfields/:context?/:id?';
pathname: `/omnichannel/customfields${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-appearance': {
pattern: '/omnichannel/appearance';
pathname: '/omnichannel/appearance';
};
'omnichannel-businessHours': {
pattern: '/omnichannel/businessHours/:context?/:type?/:id?';
pathname: `/omnichannel/businessHours${`/${string}` | ''}${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-units': {
pattern: '/omnichannel/units/:context?/:id?';
pathname: `/omnichannel/units${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-tags': {
pattern: '/omnichannel/tags/:context?/:id?';
pathname: `/omnichannel/tags${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-queue': {
pattern: '/omnichannel/queue/:context?/:id?';
pathname: `/omnichannel/queue${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-rooms': {
pattern: '/omnichannel/rooms/:context?/:id?';
pathname: `/omnichannel/rooms${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-triggers': {
pattern: '/omnichannel/triggers/:context?/:id?';
pathname: `/omnichannel/triggers${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-current-chats': {
pattern: '/omnichannel/current/:tab?/:context?/:id?';
pathname: `/omnichannel/current${`/${string}` | ''}${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-departments': {
pattern: '/omnichannel/departments/:context?/:id?/:tab?';
pathname: `/omnichannel/departments${`/${string}` | ''}${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-analytics': {
pattern: '/omnichannel/analytics';
pathname: `/omnichannel/analytics`;
};
'omnichannel-realTime': {
pattern: '/omnichannel/realtime-monitoring';
pathname: `/omnichannel/realtime-monitoring`;
};
'omnichannel-monitors': {
pattern: '/omnichannel/monitors';
pathname: '/omnichannel/monitors';
};
'omnichannel-sla-policies': {
pattern: '/omnichannel/sla-policies/:context?/:id?';
pathname: `/omnichannel/sla-policies${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-priorities': {
pattern: '/omnichannel/priorities/:context?/:id?';
pathname: `/omnichannel/priorities${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-canned-responses': {
pattern: '/omnichannel/canned-responses/:context?/:id?';
pathname: `/omnichannel/canned-responses${`/${string}` | ''}${`/${string}` | ''}`;
};
'omnichannel-reports': {
pattern: '/omnichannel/reports';
pathname: `/omnichannel/reports`;
};
'omnichannel-security-privacy': {
pattern: '/omnichannel/security-privacy';
pathname: `/omnichannel/security-privacy`;
};
}
}
export const registerOmnichannelRoute = createRouteGroup(
'omnichannel',
'/omnichannel',
lazy(() => import('./OmnichannelRouter')),
);
registerOmnichannelRoute('/installation', {
name: 'omnichannel-installation',
component: lazy(() => import('./installation/Installation')),
});
registerOmnichannelRoute('/managers', {
name: 'omnichannel-managers',
component: lazy(() => import('./managers/ManagersRoute')),
});
registerOmnichannelRoute('/agents/:context?/:id?', {
name: 'omnichannel-agents',
component: lazy(() => import('./agents/AgentsPage')),
});
registerOmnichannelRoute('/webhooks', {
name: 'omnichannel-webhooks',
component: lazy(() => import('./webhooks/WebhooksPageContainer')),
});
registerOmnichannelRoute('/customfields/:context?/:id?', {
name: 'omnichannel-customfields',
component: lazy(() => import('./customFields/CustomFieldsRoute')),
});
registerOmnichannelRoute('/appearance', {
name: 'omnichannel-appearance',
component: lazy(() => import('./appearance/AppearancePageContainer')),
});
registerOmnichannelRoute('/businessHours/:context?/:type?/:id?', {
name: 'omnichannel-businessHours',
component: lazy(() => import('./businessHours/BusinessHoursRouter')),
});
registerOmnichannelRoute('/units/:context?/:id?', {
name: 'omnichannel-units',
component: lazy(() => import('./units/UnitsRoute')),
});
registerOmnichannelRoute('/tags/:context?/:id?', {
name: 'omnichannel-tags',
component: lazy(() => import('./tags/TagsRoute')),
});
registerOmnichannelRoute('/triggers/:context?/:id?', {
name: 'omnichannel-triggers',
component: lazy(() => import('./triggers/TriggersRoute')),
});
registerOmnichannelRoute('/current/:tab?/:context?/:id?', {
name: 'omnichannel-current-chats',
component: lazy(() => import('./directory/OmnichannelDirectoryRouter')),
});
registerOmnichannelRoute('/departments/:context?/:id?/:tab?', {
name: 'omnichannel-departments',
component: lazy(() => import('./departments/DepartmentsRoute')),
});
registerOmnichannelRoute('/realtime-monitoring', {
name: 'omnichannel-realTime',
component: lazy(() => import('./realTimeMonitoring/RealTimeMonitoringPage')),
});
registerOmnichannelRoute('/analytics', {
name: 'omnichannel-analytics',
component: lazy(() => import('./analytics/AnalyticsPage')),
});
registerOmnichannelRoute('/monitors', {
name: 'omnichannel-monitors',
component: lazy(() => import('./monitors/MonitorsPageContainer')),
});
registerOmnichannelRoute('/sla-policies/:context?/:id?', {
name: 'omnichannel-sla-policies',
component: lazy(() => import('./slaPolicies/SlaRoute')),
});
registerOmnichannelRoute('/priorities/:context?/:id?', {
name: 'omnichannel-priorities',
component: lazy(() => import('./priorities/PrioritiesRoute')),
});
registerOmnichannelRoute('/canned-responses/:context?/:id?', {
name: 'omnichannel-canned-responses',
component: lazy(() => import('./cannedResponses/modals/CannedResponsesRoute')),
});
registerOmnichannelRoute('/reports', {
name: 'omnichannel-reports',
component: lazy(() => import('./reports/ReportsPage')),
});
registerOmnichannelRoute('/security-privacy', {
name: 'omnichannel-security-privacy',
component: lazy(() => import('./securityPrivacy/SecurityPrivacyRoute')),
});