export const WEBHOOK_API_BASE_URL = "/metadata/webhook";
export const METADATA_MIGRATIONS_ENVIRONMENTS_API_BASE_URL =
  "/metadata-migrations/environments";
export const METADATA_MIGRATIONS_REQUEST_API_BASE_URL =
  "/metadata-migrations/requests";
export const METADATA_MIGRATIONS_API_BASE_URL = "/metadata-migrations";
export const WORKFLOW_API_BASE_URL = "/workflow";
export const USER_API_BASE_URL = "/users";
export const WORKFLOW_METADATA_BASE_URL = `/metadata/workflow`;
export const WORKFLOW_METADATA_BASE_URL_SHORT =
  "/metadata/workflow?short=true&metadata=true";
export const TASK_EXECUTIONS_SEARCH_URL = "/tasks/search?";

const INTEGRATIONS_BASE = "/integrations";
export const INTEGRATIONS_API_URL = {
  BASE: INTEGRATIONS_BASE,
  ALL: `${INTEGRATIONS_BASE}/all`,
  DEF: `${INTEGRATIONS_BASE}/def`,
  EVENT_STATS: `${INTEGRATIONS_BASE}/eventStats`,
  PROVIDER: `${INTEGRATIONS_BASE}/provider`,
};

export const WORKFLOW_METADATA_SHORT_URL =
  "/metadata/workflow?short=true&metadata=true";
export const ROLES_API_BASE_URL = "/roles";
