pub const API_BASE: &str = "/api/v1";
pub const AUTH_K2: &str = "/api/v1/auth/k2";
pub const AUTH_RENEW: &str = "/api/v1/auth/renew";
pub const AUTH_LOGIN: &str = "/api/v1/auth/login";
pub const AUTH_LOGOUT: &str = "/api/v1/auth/logout";
pub const AUTH_PASSWORD_SET: &str = "/api/v1/auth/password/set";
pub const ME: &str = "/api/v1/me";
pub const HEALTH: &str = "/api/v1/health";
pub const GATEWAY: &str = "/api/v1/gateway";
pub const GATEWAY_TICKET: &str = "/api/v1/gateway/ticket";
pub const RESOLVE: &str = "/api/v1/resolve";
pub const CHANNEL_MESSAGES: &str = "/api/v1/channels/{id}/messages";
pub const MESSAGES_BY_IDS: &str = "/api/v1/messages";
pub const MESSAGE: &str = "/api/v1/messages/{id}";
pub const MESSAGE_EDIT: &str = "/api/v1/messages/{id}/edit";
pub const MESSAGE_DELETE: &str = "/api/v1/messages/{id}/delete";
pub const MESSAGE_ON_BEHALF_APPROVAL: &str = "/api/v1/messages/{id}/on-behalf-approval";
pub const MESSAGE_HISTORY: &str = "/api/v1/messages/{id}/history";
pub const CHANNEL_ARCHIVE: &str = "/api/v1/channels/{id}/archive";
pub const CHANNEL_SYNC: &str = "/api/v1/channels/{id}/sync";
pub const CHANNEL_ACK: &str = "/api/v1/channels/{id}/ack";
pub const CHANNEL_CHANGES: &str = "/api/v1/channels/{id}/changes";
pub const CHANNEL_UPLOADS: &str = "/api/v1/channels/{id}/uploads";
pub const CHANNEL_VOICE_JOIN: &str = "/api/v1/channels/{id}/voice/join";
pub const ME_CHANGES: &str = "/api/v1/me/changes";
pub const CHANNEL_MARK_UNREAD: &str = "/api/v1/channels/{id}/mark_unread";
pub const THREAD_ACK: &str = "/api/v1/threads/{id}/ack";
pub const THREAD_MARK_UNREAD: &str = "/api/v1/threads/{id}/mark_unread";
pub const ME_READ_STATES: &str = "/api/v1/me/read_states";
pub const ME_READ_STATES_ACK: &str = "/api/v1/me/read_states/ack";
pub const ME_THREAD_READS: &str = "/api/v1/me/thread_reads";
pub const ME_THREADS: &str = "/api/v1/me/threads";
pub const ME_THREADS_SUMMARY: &str = "/api/v1/me/threads/summary";
pub const ME_SYNC: &str = "/api/v1/me/sync";
pub const CHANNEL_READ_RECEIPTS: &str = "/api/v1/channels/{id}/read_receipts";
pub const ME_READ_RECEIPTS: &str = "/api/v1/me/read_receipts";
pub const ME_READ_RECEIPTS_SET: &str = "/api/v1/me/read_receipts/set";
pub const INSTALL_POLICIES: &str = "/api/v1/install/policies";
pub const INSTALL_MEMBER_ROLE: &str = "/api/v1/install/members/{id}/role";
pub const INSTALL_MEMBER_GUEST: &str = "/api/v1/install/members/{id}/guest";
pub const INSTALL_GUESTS: &str = "/api/v1/install/guests";
pub const SPACES: &str = "/api/v1/spaces";
pub const SPACE: &str = "/api/v1/spaces/{id}";
pub const SPACE_UPDATE: &str = "/api/v1/spaces/{id}/update";
pub const SPACE_JOIN: &str = "/api/v1/spaces/{id}/join";
pub const SPACE_LEAVE: &str = "/api/v1/spaces/{id}/leave";
pub const SPACE_MEMBERS: &str = "/api/v1/spaces/{id}/members";
pub const SPACE_MEMBERS_ADD: &str = "/api/v1/spaces/{id}/members/add";
pub const SPACE_MEMBERS_REMOVE: &str = "/api/v1/spaces/{id}/members/remove";
pub const SPACE_TRANSFER: &str = "/api/v1/spaces/{id}/transfer";
pub const SPACE_CATEGORIES: &str = "/api/v1/spaces/{id}/categories";
pub const SPACE_CATEGORIES_REORDER: &str = "/api/v1/spaces/{id}/categories/reorder";
pub const CATEGORY_UPDATE: &str = "/api/v1/categories/{id}/update";
pub const CATEGORY_DELETE: &str = "/api/v1/categories/{id}/delete";
pub const SPACE_CHANNELS: &str = "/api/v1/spaces/{id}/channels";
pub const SPACE_CHANNELS_REORDER: &str = "/api/v1/spaces/{id}/channels/reorder";
pub const CHANNEL: &str = "/api/v1/channels/{id}";
pub const CHANNEL_UPDATE: &str = "/api/v1/channels/{id}/update";
pub const CHANNEL_UNARCHIVE: &str = "/api/v1/channels/{id}/unarchive";
pub const CHANNEL_JOIN: &str = "/api/v1/channels/{id}/join";
pub const CHANNEL_TYPING: &str = "/api/v1/channels/{id}/typing";
pub const CHANNEL_LEAVE: &str = "/api/v1/channels/{id}/leave";
pub const CHANNEL_MEMBERS: &str = "/api/v1/channels/{id}/members";
pub const CHANNEL_MEMBERS_ADD: &str = "/api/v1/channels/{id}/members/add";
pub const CHANNEL_MEMBERS_REMOVE: &str = "/api/v1/channels/{id}/members/remove";
pub const ME_CHANNELS: &str = "/api/v1/me/channels";
pub const DMS: &str = "/api/v1/dms";
pub const MESSAGE_FORWARD: &str = "/api/v1/messages/{id}/forward";
pub const MESSAGE_REACTIONS_ADD: &str = "/api/v1/messages/{id}/reactions/add";
pub const MESSAGE_REACTIONS_REMOVE: &str = "/api/v1/messages/{id}/reactions/remove";
pub const MESSAGE_REACTORS: &str = "/api/v1/messages/{id}/reactors";
pub const MESSAGE_PIN: &str = "/api/v1/messages/{id}/pin";
pub const MESSAGE_UNPIN: &str = "/api/v1/messages/{id}/unpin";
pub const CHANNEL_PINS: &str = "/api/v1/channels/{id}/pins";
pub const THREAD_MESSAGES: &str = "/api/v1/messages/{id}/replies";
pub const THREAD_FOLLOW: &str = "/api/v1/threads/{id}/follow";
pub const THREAD_UNFOLLOW: &str = "/api/v1/threads/{id}/unfollow";
pub const THREAD_DELETE: &str = "/api/v1/threads/{id}/delete";
pub const SPACE_ROLES: &str = "/api/v1/spaces/{id}/roles";
pub const SPACE_ROLES_REORDER: &str = "/api/v1/spaces/{id}/roles/reorder";
pub const ROLE_EDIT: &str = "/api/v1/roles/{id}/edit";
pub const ROLE_DELETE: &str = "/api/v1/roles/{id}/delete";
pub const ROLE_MEMBERS: &str = "/api/v1/roles/{id}/members";
pub const SPACE_MEMBER: &str = "/api/v1/spaces/{id}/members/{member_id}";
pub const SPACE_MEMBER_ROLES_ADD: &str = "/api/v1/spaces/{id}/members/{member_id}/roles/add";
pub const SPACE_MEMBER_ROLES_REMOVE: &str = "/api/v1/spaces/{id}/members/{member_id}/roles/remove";
pub const SPACE_MEMBER_TIMEOUT: &str = "/api/v1/spaces/{id}/members/{member_id}/timeout";
pub const SPACE_MEMBER_TIMEOUT_CLEAR: &str =
"/api/v1/spaces/{id}/members/{member_id}/timeout/clear";
pub const SPACE_BANS: &str = "/api/v1/spaces/{id}/bans";
pub const SPACE_BAN: &str = "/api/v1/spaces/{id}/bans/{member_id}";
pub const SPACE_BAN_DELETE: &str = "/api/v1/spaces/{id}/bans/{member_id}/delete";
pub const CHANNEL_OVERWRITES: &str = "/api/v1/channels/{id}/overwrites";
pub const CHANNEL_OVERWRITES_SET: &str = "/api/v1/channels/{id}/overwrites/set";
pub const CHANNEL_OVERWRITES_DELETE: &str = "/api/v1/channels/{id}/overwrites/delete";
pub const CATEGORY_OVERWRITES: &str = "/api/v1/categories/{id}/overwrites";
pub const CATEGORY_OVERWRITES_SET: &str = "/api/v1/categories/{id}/overwrites/set";
pub const CATEGORY_OVERWRITES_DELETE: &str = "/api/v1/categories/{id}/overwrites/delete";
pub const CHANNEL_SLOW_MODE_SET: &str = "/api/v1/channels/{id}/slow_mode/set";
pub const UPLOAD_DATA: &str = "/api/v1/uploads/{id}/data";
pub const UPLOAD: &str = "/api/v1/uploads/{id}";
pub const UPLOAD_ABORT: &str = "/api/v1/uploads/{id}/abort";
pub const MESSAGE_ATTACHMENTS_REMOVE: &str = "/api/v1/messages/{id}/attachments/remove";
pub const CHANNEL_FILES: &str = "/api/v1/channels/{id}/files";
pub const FILE: &str = "/api/v1/files/{id}";
pub const FILE_THUMB: &str = "/api/v1/files/{id}/thumb";
pub const FILE_PREVIEW: &str = "/api/v1/files/{id}/preview";
pub const FILE_POSTER: &str = "/api/v1/files/{id}/poster";
pub const SPACE_EMOJI: &str = "/api/v1/spaces/{id}/emoji";
pub const EMOJI: &str = "/api/v1/emoji/{id}";
pub const EMOJI_EDIT: &str = "/api/v1/emoji/{id}/edit";
pub const EMOJI_DELETE: &str = "/api/v1/emoji/{id}/delete";
pub const EMOJI_IMAGE: &str = "/api/v1/emoji-images/{id}/{variant}";
pub const SPACE_ICON: &str = "/api/v1/spaces/{id}/icon";
pub const SPACE_ICON_CLEAR: &str = "/api/v1/spaces/{id}/icon/clear";
pub const SPACE_ICON_IMAGE: &str = "/api/v1/space-icons/{id}/{icon_id}/{size}";
pub const GIFS_SEARCH: &str = "/api/v1/gifs/search";
pub const GIFS_TRENDING: &str = "/api/v1/gifs/trending";
pub const GIFS_MEDIA: &str = "/api/v1/gifs/media/{token}";
pub const CHANNEL_GIFS_ATTACH: &str = "/api/v1/channels/{id}/gifs/attach";
pub const MESSAGE_PREVIEWS_SUPPRESS: &str = "/api/v1/messages/{id}/previews/suppress";
pub const PREVIEW_IMAGE: &str = "/api/v1/previews/{id}/image";
pub const INSTALL_SECRETS: &str = "/api/v1/install/secrets";
pub const INSTALL_SECRETS_SET: &str = "/api/v1/install/secrets/set";
pub const INSTALL_SECRETS_CLEAR: &str = "/api/v1/install/secrets/clear";
pub const SEARCH_MESSAGES: &str = "/api/v1/search/messages";
pub const SEARCH_FILES: &str = "/api/v1/search/files";
pub const MGMT_BASE: &str = "/mgmt/v1";
pub const MGMT_HEALTH: &str = "/mgmt/v1/health";
pub const MGMT_STATUS: &str = "/mgmt/v1/status";
pub const MGMT_METRICS: &str = "/mgmt/v1/metrics";
pub const MGMT_PROVISION: &str = "/mgmt/v1/principals/provision";
pub const MGMT_UPDATE: &str = "/mgmt/v1/principals/update";
pub const MGMT_DEPROVISION: &str = "/mgmt/v1/principals/deprovision";
pub const MGMT_PRINCIPALS_ERASE: &str = "/mgmt/v1/principals/erase";
pub const MGMT_PRINCIPALS_ERASE_JOB: &str = "/mgmt/v1/principals/erase/{job_id}";
pub const MGMT_PRINCIPALS_ERASURES: &str = "/mgmt/v1/principals/erasures";
pub const MGMT_PRINCIPALS_RELINK: &str = "/mgmt/v1/principals/relink";
pub const MGMT_IDENTITY_SWITCH: &str = "/mgmt/v1/identity/switch";
pub const MGMT_SESSIONS_REVOKE: &str = "/mgmt/v1/sessions/revoke";
pub const MGMT_OWNER_SET: &str = "/mgmt/v1/owner/set";
pub const MGMT_SPACES_CREATE: &str = "/mgmt/v1/spaces/create";
pub const MGMT_SPACES_BIND: &str = "/mgmt/v1/spaces/bind";
pub const MGMT_SPACE_SETTINGS: &str = "/mgmt/v1/spaces/{space_id}/settings";
pub const MGMT_SPACE_APPS: &str = "/mgmt/v1/spaces/{space_id}/apps";
pub const MGMT_SPACE_APPS_LINK: &str = "/mgmt/v1/spaces/{space_id}/apps/link";
pub const MGMT_SPACE_APPS_UNLINK: &str = "/mgmt/v1/spaces/{space_id}/apps/unlink";
pub const MGMT_SPACE_MEMBER_CHANNELS: &str =
"/mgmt/v1/spaces/{space_id}/members/{external_id}/channels";
pub const MGMT_SPACE_MEMBERS_CHANNELS: &str = "/mgmt/v1/spaces/{space_id}/members/channels";
pub const MGMT_SPACES_UNBIND: &str = "/mgmt/v1/spaces/unbind";
pub const MGMT_SPACES_RELEASE: &str = "/mgmt/v1/spaces/release";
pub const MGMT_HOME_CLIENT: &str = "/mgmt/v1/home-client";
pub const MGMT_APP_SETTINGS: &str = "/mgmt/v1/apps/{app_id}/settings";
pub const MGMT_APP_SPACES: &str = "/mgmt/v1/apps/{app_id}/spaces";
pub const MGMT_SPACE_MEMBERS_ADD: &str = "/mgmt/v1/spaces/members/add";
pub const MGMT_SPACE_MEMBERS_REMOVE: &str = "/mgmt/v1/spaces/members/remove";
pub const MGMT_CHANNELS_CREATE: &str = "/mgmt/v1/channels/create";
pub const MGMT_CHANNELS_BULK: &str = "/mgmt/v1/channels/bulk";
pub const MGMT_SPACE_VOICE_STATES: &str = "/mgmt/v1/spaces/{space_id}/voice/states";
pub const MGMT_SPACE_VOICE_CHANGES: &str = "/mgmt/v1/spaces/{space_id}/voice/changes";
pub const MGMT_CHANNEL_MEMBERS_ADD: &str = "/mgmt/v1/channels/{channel_id}/members/add";
pub const MGMT_CHANNEL_MEMBERS_REMOVE: &str = "/mgmt/v1/channels/{channel_id}/members/remove";
pub const MGMT_CHANNEL_CLOSING: &str = "/mgmt/v1/channels/{channel_id}/closing";
pub const MGMT_VOICE_MEDIA_PATH: &str = "/mgmt/v1/voice/media-path";
pub const MGMT_CHANNEL_RECORDING: &str = "/mgmt/v1/channels/{channel_id}/recording";
pub const MGMT_RECORDING: &str = "/mgmt/v1/recordings/{id}";
pub const MGMT_RECORDING_STOP: &str = "/mgmt/v1/recordings/{id}/stop";
pub const MGMT_RECORDING_TRANSCRIPT: &str = "/mgmt/v1/recordings/{id}/transcript";
pub const MGMT_SPACE_RECORDINGS: &str = "/mgmt/v1/spaces/{space_id}/recordings";
pub const MGMT_APP_RECORDING_CHANGES: &str = "/mgmt/v1/apps/{app_id}/recordings/changes";
pub const MGMT_APP_QUOTAS: &str = "/mgmt/v1/apps/{app_id}/quotas";
pub const MGMT_MEET_INIT: &str = "/mgmt/v1/meet/init";
pub const MGMT_AGENTS_PIN: &str = "/mgmt/v1/agents/pin";
pub const MGMT_AGENTS_UNPIN: &str = "/mgmt/v1/agents/unpin";
pub const MGMT_AGENT_DELIVERIES: &str = "/mgmt/v1/agents/{member_id}/deliveries";
pub const MGMT_PERSON_NOTIFICATIONS: &str = "/mgmt/v1/people/{external_id}/notifications";
pub const MGMT_PERSON_NOTIFICATIONS_HEAD: &str = "/mgmt/v1/people/{external_id}/notifications/head";
pub const MGMT_PERSON_CHANNEL_NOTIFY: &str = "/mgmt/v1/people/{external_id}/channels/{id}/notify";
pub const MGMT_PERSON_CHANNEL_NOTIFY_SET: &str =
"/mgmt/v1/people/{external_id}/channels/{id}/notify/set";
pub const MGMT_BACKUP: &str = "/mgmt/v1/backup";
pub const MGMT_BACKUPS: &str = "/mgmt/v1/backups";
pub const MGMT_BACKUP_ARCHIVE: &str = "/mgmt/v1/backups/{id}/archive";
pub const MGMT_EXPORT: &str = "/mgmt/v1/export";
pub const MGMT_JOB: &str = "/mgmt/v1/jobs/{id}";
pub const MGMT_JOBS: &str = "/mgmt/v1/jobs";
pub const MGMT_JOB_RETRY: &str = "/mgmt/v1/jobs/{id}/retry";
pub const MGMT_PRINCIPALS: &str = "/mgmt/v1/principals";
pub const MGMT_LOCAL_USERS: &str = "/mgmt/v1/local/users";
pub const MGMT_LOCAL_SETUP_LINK: &str = "/mgmt/v1/local/setup-link";
pub const MGMT_LOCAL_REACTIVATE: &str = "/mgmt/v1/local/users/reactivate";
pub const MGMT_LOCAL_ROLE: &str = "/mgmt/v1/local/users/role";
pub const MGMT_LOCAL_USERS_GUEST: &str = "/mgmt/v1/local/users/guest";
pub const MGMT_POLICIES: &str = "/mgmt/v1/policies";
pub const MGMT_KEYS_ROTATE_MASTER: &str = "/mgmt/v1/keys/rotate-master";
pub const MGMT_KEYS_MIRROR_SYNC: &str = "/mgmt/v1/keys/mirror-sync";
pub const MGMT_AUDIT_VERIFY: &str = "/mgmt/v1/audit/verify";
pub const MGMT_SECRETS: &str = "/mgmt/v1/secrets";
pub const MGMT_SECRETS_SET: &str = "/mgmt/v1/secrets/set";
pub const MGMT_SECRETS_CLEAR: &str = "/mgmt/v1/secrets/clear";
pub const MEMBER: &str = "/api/v1/members/{id}";
pub const MEMBERS: &str = "/api/v1/members";
pub const MEMBER_PROFILE_RESET: &str = "/api/v1/members/{id}/profile/reset";
pub const ME_PROFILE: &str = "/api/v1/me/profile";
pub const ME_AVATAR: &str = "/api/v1/me/avatar";
pub const ME_AVATAR_CLEAR: &str = "/api/v1/me/avatar/clear";
pub const AVATAR: &str = "/api/v1/avatars/{member_id}/{avatar_id}/{size}";
pub const ME_STATUS: &str = "/api/v1/me/status";
pub const ME_STATUS_CLEAR: &str = "/api/v1/me/status/clear";
pub const ME_PRESENCE: &str = "/api/v1/me/presence";
pub const ME_DND_SCHEDULE: &str = "/api/v1/me/dnd/schedule";
pub const ME_DND_END: &str = "/api/v1/me/dnd/end";
pub const PRESENCE: &str = "/api/v1/presence";
pub const DIRECTORY: &str = "/api/v1/directory";
pub const INSTALL_PROFILE_FIELDS: &str = "/api/v1/install/profile-fields";
pub const INSTALL_PROFILE_FIELD_UPDATE: &str = "/api/v1/install/profile-fields/{id}/update";
pub const INSTALL_PROFILE_FIELD_DELETE: &str = "/api/v1/install/profile-fields/{id}/delete";
pub const INSTALL_PROFILE_FIELDS_REORDER: &str = "/api/v1/install/profile-fields/reorder";
pub const GROUPS: &str = "/api/v1/groups";
pub const GROUP: &str = "/api/v1/groups/{id}";
pub const GROUP_UPDATE: &str = "/api/v1/groups/{id}/update";
pub const GROUP_DELETE: &str = "/api/v1/groups/{id}/delete";
pub const GROUP_MEMBERS: &str = "/api/v1/groups/{id}/members";
pub const GROUP_MEMBERS_ADD: &str = "/api/v1/groups/{id}/members/add";
pub const GROUP_MEMBERS_REMOVE: &str = "/api/v1/groups/{id}/members/remove";
pub const CHANNEL_MENTIONABLES: &str = "/api/v1/channels/{id}/mentionables";
pub const MGMT_PRINCIPAL_AVATAR: &str = "/mgmt/v1/principals/avatar";
pub const MGMT_PRINCIPAL_AVATAR_CLEAR: &str = "/mgmt/v1/principals/avatar/clear";
pub const MGMT_PROFILE_FIELDS: &str = "/mgmt/v1/profile-fields";
pub const MGMT_PROFILE_FIELDS_UPSERT: &str = "/mgmt/v1/profile-fields/upsert";
pub const MGMT_SEARCH_REBUILD: &str = "/mgmt/v1/search/rebuild";
pub const COMPLIANCE_RETENTION: &str = "/api/v1/compliance/retention";
pub const COMPLIANCE_RETENTION_EFFECTIVE: &str = "/api/v1/compliance/retention/effective";
pub const COMPLIANCE_RETENTION_PREVIEW: &str = "/api/v1/compliance/retention/preview";
pub const COMPLIANCE_RETENTION_PREVIEW_GET: &str = "/api/v1/compliance/retention/previews/{id}";
pub const COMPLIANCE_RETENTION_SET: &str = "/api/v1/compliance/retention/set";
pub const COMPLIANCE_RETENTION_CANCEL: &str = "/api/v1/compliance/retention/{id}/cancel";
pub const COMPLIANCE_RETENTION_RUN: &str = "/api/v1/compliance/retention/run";
pub const COMPLIANCE_RETENTION_RUNS: &str = "/api/v1/compliance/retention/runs";
pub const COMPLIANCE_HOLDS: &str = "/api/v1/compliance/holds";
pub const COMPLIANCE_HOLD: &str = "/api/v1/compliance/holds/{id}";
pub const COMPLIANCE_HOLD_UPDATE: &str = "/api/v1/compliance/holds/{id}/update";
pub const COMPLIANCE_HOLD_RELEASE: &str = "/api/v1/compliance/holds/{id}/release";
pub const COMPLIANCE_CHANNELS: &str = "/api/v1/compliance/channels";
pub const MGMT_COMPLIANCE_RETENTION: &str = "/mgmt/v1/compliance/retention";
pub const MGMT_COMPLIANCE_RETENTION_EFFECTIVE: &str = "/mgmt/v1/compliance/retention/effective";
pub const MGMT_COMPLIANCE_RETENTION_PREVIEW: &str = "/mgmt/v1/compliance/retention/preview";
pub const MGMT_COMPLIANCE_RETENTION_PREVIEW_GET: &str =
"/mgmt/v1/compliance/retention/previews/{id}";
pub const MGMT_COMPLIANCE_RETENTION_SET: &str = "/mgmt/v1/compliance/retention/set";
pub const MGMT_COMPLIANCE_RETENTION_CANCEL: &str = "/mgmt/v1/compliance/retention/{id}/cancel";
pub const MGMT_COMPLIANCE_RETENTION_RUN: &str = "/mgmt/v1/compliance/retention/run";
pub const MGMT_COMPLIANCE_RETENTION_RUNS: &str = "/mgmt/v1/compliance/retention/runs";
pub const MGMT_COMPLIANCE_HOLDS: &str = "/mgmt/v1/compliance/holds";
pub const MGMT_COMPLIANCE_HOLD: &str = "/mgmt/v1/compliance/holds/{id}";
pub const MGMT_COMPLIANCE_HOLD_UPDATE: &str = "/mgmt/v1/compliance/holds/{id}/update";
pub const MGMT_COMPLIANCE_HOLD_RELEASE: &str = "/mgmt/v1/compliance/holds/{id}/release";
pub const MGMT_COMPLIANCE_CHANNELS: &str = "/mgmt/v1/compliance/channels";
pub const CHANNEL_DRAFT: &str = "/api/v1/channels/{id}/draft";
pub const CHANNEL_DRAFT_DELETE: &str = "/api/v1/channels/{id}/draft/delete";
pub const ME_DRAFTS: &str = "/api/v1/me/drafts";
pub const MESSAGE_SAVE: &str = "/api/v1/messages/{id}/save";
pub const MESSAGE_UNSAVE: &str = "/api/v1/messages/{id}/unsave";
pub const SAVED_EDIT: &str = "/api/v1/saved/{id}/edit";
pub const SAVED_DELETE: &str = "/api/v1/saved/{id}/delete";
pub const ME_SAVED: &str = "/api/v1/me/saved";
pub const CHANNEL_SCHEDULED: &str = "/api/v1/channels/{id}/scheduled";
pub const SCHEDULED_EDIT: &str = "/api/v1/scheduled/{id}/edit";
pub const SCHEDULED_SEND_NOW: &str = "/api/v1/scheduled/{id}/send_now";
pub const SCHEDULED_DELETE: &str = "/api/v1/scheduled/{id}/delete";
pub const ME_SCHEDULED: &str = "/api/v1/me/scheduled";
pub const ME_REMINDERS: &str = "/api/v1/me/reminders";
pub const REMINDER_EDIT: &str = "/api/v1/reminders/{id}/edit";
pub const REMINDER_SNOOZE: &str = "/api/v1/reminders/{id}/snooze";
pub const REMINDER_COMPLETE: &str = "/api/v1/reminders/{id}/complete";
pub const REMINDER_DELETE: &str = "/api/v1/reminders/{id}/delete";
pub const MESSAGE_POLL_VOTE: &str = "/api/v1/messages/{id}/poll/vote";
pub const MESSAGE_POLL_CLOSE: &str = "/api/v1/messages/{id}/poll/close";
pub const MESSAGE_POLL_VOTERS: &str = "/api/v1/messages/{id}/poll/voters";
pub const CHANNEL_BOOKMARKS: &str = "/api/v1/channels/{id}/bookmarks";
pub const CHANNEL_BOOKMARKS_REORDER: &str = "/api/v1/channels/{id}/bookmarks/reorder";
pub const BOOKMARK_EDIT: &str = "/api/v1/bookmarks/{id}/edit";
pub const BOOKMARK_DELETE: &str = "/api/v1/bookmarks/{id}/delete";
pub const ME_NOTIFY: &str = "/api/v1/me/notify";
pub const ME_NOTIFY_SET: &str = "/api/v1/me/notify/set";
pub const ME_NOTIFY_PREFS: &str = "/api/v1/me/notify/prefs";
pub const CHANNEL_NOTIFY: &str = "/api/v1/channels/{id}/notify";
pub const CHANNEL_NOTIFY_SET: &str = "/api/v1/channels/{id}/notify/set";
pub const SPACE_NOTIFY: &str = "/api/v1/spaces/{id}/notify";
pub const SPACE_NOTIFY_SET: &str = "/api/v1/spaces/{id}/notify/set";
pub const DIGEST_UNSUBSCRIBE: &str = "/api/v1/digest/unsubscribe/{id}";
pub const MGMT_MAIL_TEST: &str = "/mgmt/v1/mail/test";
pub const INSTALL_MEMBER_COMPLIANCE: &str = "/api/v1/install/members/{id}/compliance";
pub const COMPLIANCE_OFFICERS: &str = "/api/v1/compliance/officers";
pub const COMPLIANCE_EXPORTS: &str = "/api/v1/compliance/exports";
pub const COMPLIANCE_EXPORTS_ESTIMATE: &str = "/api/v1/compliance/exports/estimate";
pub const COMPLIANCE_EXPORT: &str = "/api/v1/compliance/exports/{id}";
pub const COMPLIANCE_EXPORT_CANCEL: &str = "/api/v1/compliance/exports/{id}/cancel";
pub const COMPLIANCE_EXPORT_DELETE: &str = "/api/v1/compliance/exports/{id}/delete";
pub const COMPLIANCE_EXPORT_LINK: &str = "/api/v1/compliance/exports/{id}/link";
pub const COMPLIANCE_EXPORT_ARCHIVE: &str = "/api/v1/compliance/exports/{id}/archive";
pub const AUDIT: &str = "/api/v1/audit";
pub const AUDIT_CHAIN: &str = "/api/v1/audit/chain";
pub const AUDIT_VERIFY: &str = "/api/v1/audit/verify";
pub const MGMT_AUDIT: &str = "/mgmt/v1/audit";
pub const MGMT_PRINCIPALS_COMPLIANCE: &str = "/mgmt/v1/principals/compliance";
pub const MGMT_EXPORTS: &str = "/mgmt/v1/exports";
pub const MGMT_EXPORT_GET: &str = "/mgmt/v1/exports/{id}";
pub const MGMT_EXPORT_ARCHIVE: &str = "/mgmt/v1/exports/{id}/archive";
pub const MGMT_EXPORT_CANCEL: &str = "/mgmt/v1/exports/{id}/cancel";
pub const MGMT_EXPORT_DELETE: &str = "/mgmt/v1/exports/{id}/delete";
pub const MGMT_COMPLIANCE_EXPORTS: &str = "/mgmt/v1/compliance/exports";
pub const MGMT_COMPLIANCE_EXPORTS_ESTIMATE: &str = "/mgmt/v1/compliance/exports/estimate";
pub const MGMT_COMPLIANCE_EXPORT: &str = "/mgmt/v1/compliance/exports/{id}";
pub const MGMT_COMPLIANCE_EXPORT_CANCEL: &str = "/mgmt/v1/compliance/exports/{id}/cancel";
pub const MGMT_COMPLIANCE_EXPORT_DELETE: &str = "/mgmt/v1/compliance/exports/{id}/delete";
pub const MGMT_COMPLIANCE_EXPORT_ARCHIVE: &str = "/mgmt/v1/compliance/exports/{id}/archive";
pub const MGMT_COMPLIANCE_RECORDING_DOWNLOADS: &str =
"/mgmt/v1/compliance/recordings/{id}/downloads";
pub const MGMT_COMPLIANCE_RECORDING_DOWNLOAD_SEGMENTS: &str =
"/mgmt/v1/compliance/recordings/{id}/downloads/{download_id}/segments";
pub const MGMT_COMPLIANCE_RECORDING_FILE: &str =
"/mgmt/v1/compliance/recordings/{id}/files/{link_id}";
pub const ME_VOICE: &str = "/api/v1/me/voice";
pub const ME_VOICE_LEAVE: &str = "/api/v1/me/voice/leave";
pub const ME_VOICE_STATE: &str = "/api/v1/me/voice/state";
pub const ME_VOICE_STATS: &str = "/api/v1/me/voice/stats";
pub const ME_VOICE_CREDENTIAL: &str = "/api/v1/me/voice/credential";
pub const SPACE_MEMBER_VOICE: &str = "/api/v1/spaces/{id}/members/{member_id}/voice";
pub const SPACE_MEMBER_VOICE_MOVE: &str = "/api/v1/spaces/{id}/members/{member_id}/voice/move";
pub const SPACE_VOICE_STATES: &str = "/api/v1/spaces/{id}/voice/states";
pub const CHANNEL_VOICE_STATES: &str = "/api/v1/channels/{id}/voice/states";
pub const CHANNEL_VOICE_INVITE: &str = "/api/v1/channels/{id}/voice/invite";
pub const CHANNEL_VOICE_INVITE_DECLINE: &str = "/api/v1/channels/{id}/voice/invite/decline";
pub const CHANNEL_VOICE_INVITE_CANCEL: &str = "/api/v1/channels/{id}/voice/invite/cancel";
pub const ME_VOICE_INVITES: &str = "/api/v1/me/voice/invites";
pub const ME_VOICE_KEY_PACKAGES: &str = "/api/v1/me/voice/keys/key_packages";
pub const ME_VOICE_KEYS_JOIN: &str = "/api/v1/me/voice/keys/join";
pub const CALL_KEYS_STATE: &str = "/api/v1/calls/{call_id}/keys/state";
pub const CALL_KEYS_COMMIT: &str = "/api/v1/calls/{call_id}/keys/commit";
pub const CALL_KEYS_READY: &str = "/api/v1/calls/{call_id}/keys/ready";
pub const CALL_KEYS_INVALID: &str = "/api/v1/calls/{call_id}/keys/invalid";
pub const CALL_KEYS_KEY_PACKAGE: &str = "/api/v1/calls/{call_id}/keys/key_package";
pub const CALL_KEYS_RELEASE: &str = "/api/v1/calls/{call_id}/keys/release";
pub const CALL_KEYS_REKEY: &str = "/api/v1/calls/{call_id}/keys/rekey";
pub const CALL_KEYS_REPORT: &str = "/api/v1/calls/{call_id}/keys/report";
pub const DEVICES: &str = "/api/v1/devices";
pub const DEVICE_RENEW: &str = "/api/v1/devices/{id}/renew";
pub const ME_DEVICES: &str = "/api/v1/me/devices";
pub const DEVICE_REVOKE: &str = "/api/v1/devices/{id}/revoke";
pub const DEVICES_CRL: &str = "/api/v1/devices/crl";
pub const CHANNEL_CALL_JOIN: &str = "/api/v1/channels/{id}/call/join";
pub const CHANNEL_CALL_DECLINE: &str = "/api/v1/channels/{id}/call/decline";
pub const CHANNEL_CALL_CANCEL: &str = "/api/v1/channels/{id}/call/cancel";
pub const CHANNEL_CALL_RING: &str = "/api/v1/channels/{id}/call/ring";
pub const CHANNEL_CALL: &str = "/api/v1/channels/{id}/call";
pub const ME_CALLS: &str = "/api/v1/me/calls";
pub const CALL_BY_ID: &str = "/api/v1/calls/{call_id}";
pub const CHANNEL_RECORDING_START: &str = "/api/v1/channels/{id}/recording/start";
pub const CHANNEL_RECORDING: &str = "/api/v1/channels/{id}/recording";
pub const CHANNEL_RECORDINGS: &str = "/api/v1/channels/{id}/recordings";
pub const RECORDING: &str = "/api/v1/recordings/{id}";
pub const RECORDING_STOP: &str = "/api/v1/recordings/{id}/stop";
pub const RECORDING_CONSENT: &str = "/api/v1/recordings/{id}/consent";
pub const RECORDING_AUDIO_RETENTION: &str = "/api/v1/recordings/{id}/audio/retention";
pub const RECORDING_AUDIO: &str = "/api/v1/recordings/{id}/audio";
pub const RECORDING_AUDIO_TRACK: &str = "/api/v1/recordings/{id}/audio/tracks/{member_id}";
pub const RECORDING_AUDIO_FILE: &str = "/api/v1/recordings/{id}/audio/files/{link_id}";
pub const COMPLIANCE_RECORDING_DOWNLOADS: &str = "/api/v1/compliance/recordings/{id}/downloads";
pub const COMPLIANCE_RECORDING_DOWNLOAD_SEGMENTS: &str =
"/api/v1/compliance/recordings/{id}/downloads/{download_id}/segments";
pub const COMPLIANCE_RECORDING_FILE: &str = "/api/v1/compliance/recordings/{id}/files/{link_id}";
pub const MEETINGS: &str = "/api/v1/meetings";
pub const MEETING: &str = "/api/v1/meetings/{id}";
pub const MEETING_UPDATE: &str = "/api/v1/meetings/{id}/update";
pub const MEETING_CANCEL: &str = "/api/v1/meetings/{id}/cancel";
pub const MEETING_ATTENDEES: &str = "/api/v1/meetings/{id}/attendees";
pub const MEETING_ATTENDEES_REMOVE: &str = "/api/v1/meetings/{id}/attendees/remove";
pub const MEETING_LINK: &str = "/api/v1/meetings/{id}/link";
pub const MEETING_LINK_ROTATE: &str = "/api/v1/meetings/{id}/link/rotate";
pub const MEETING_LINK_REVOKE: &str = "/api/v1/meetings/{id}/link/revoke";
pub const MEETINGS_PEEK: &str = "/api/v1/meetings/peek";
pub const MEETINGS_REDEEM: &str = "/api/v1/meetings/redeem";
pub const MEETINGS_RESOLVE: &str = "/api/v1/meetings/resolve";
pub const MEETING_LOBBY: &str = "/api/v1/meetings/{id}/lobby";
pub const MEETING_LOBBY_ADMIT: &str = "/api/v1/meetings/{id}/lobby/{entry}/admit";
pub const MEETING_LOBBY_DENY: &str = "/api/v1/meetings/{id}/lobby/{entry}/deny";
pub const MEETING_LOBBY_ADMIT_ALL: &str = "/api/v1/meetings/{id}/lobby/admit_all";
pub const MEETINGS_KNOCK: &str = "/api/v1/meetings/knock";
pub const MEETINGS_LOBBY_ME: &str = "/api/v1/meetings/lobby/me";
pub const MEETING_END: &str = "/api/v1/meetings/{id}/end";
pub const MEETING_LOCK: &str = "/api/v1/meetings/{id}/lock";
pub const MEETING_REMOVE: &str = "/api/v1/meetings/{id}/remove";
pub const CHANNEL_PEOPLE: &str = "/api/v1/channels/{id}/people";
pub const MEETING_LOBBY_WITHDRAW: &str = "/api/v1/meetings/{id}/lobby/me/withdraw";
pub fn with_call_id(template: &str, call_id: &str) -> String {
template.replace("{call_id}", call_id)
}
pub fn with_id(template: &str, id: crate::id::Id) -> String {
template
.replace("{id}", &id.to_string())
.replace("{member_id}", &id.to_string())
}
pub fn with_ids(template: &str, id: crate::id::Id, member: crate::id::Id) -> String {
template
.replace("{id}", &id.to_string())
.replace("{member_id}", &member.to_string())
}