BlueGit

ict rusty-teams

Files

rusty-teams / crates / chatsvc / src / lib.rs

lib.rs

lib.rs 5.6 KiB Download Raw
1pub mod activity_feed;
2pub mod activity_mentions;
3pub mod ams;
4pub mod bot_profiles;
5pub mod calendar;
6pub mod calllog;
7pub mod cards;
8pub mod channel_notifications;
9pub mod channel_visibility;
10pub mod chat_listing;
11pub mod chat_notifications;
12pub mod chat_settings;
13pub mod compose_copilot;
14pub mod conversations;
15pub mod copilot;
16pub mod drafts;
17pub mod emotions;
18mod error;
19pub mod forward;
20pub mod gifs;
21pub mod google_calendar;
22pub mod graph_events;
23mod json_id;
24pub use json_id::id_text;
25pub mod language_settings;
26pub mod links;
27mod mask;
28pub mod members;
29pub mod messages;
30pub mod messaging_policy;
31pub mod pins;
32pub mod post_follow;
33pub mod presence;
34pub mod reactions;
35pub mod read_horizon;
36pub mod realtime;
37pub mod recap;
38pub mod receipts;
39pub mod recording_policy;
40pub mod saved;
41pub mod settings;
42pub mod sound_settings;
43pub mod sounds;
44pub mod substrate_search;
45pub mod team_admin;
46pub mod teams_cdn;
47pub mod tenants;
48pub mod thread_activity;
49pub mod transcripts;
50pub mod translate;
51pub mod user_profiles;
52pub mod window;
53
54pub use activity_feed::{
55 ACTIVITY_FEED_ID, ActivityFeed, ActivityHorizons, ActivityItem, ActivitySnapshot,
56};
57pub use activity_mentions::{MentionActivity, MentionKind, mentions_of};
58pub use bot_profiles::{BotProfile, BotProfiles, parse_bot_profiles};
59pub use calendar::{
60 Attendee, AttendeeResponseCounts, BusyTime, Calendar, CalendarEvent, CalendarSource,
61 CreatedEvent, DialIn, EventAttendee, NewEvent, PersonSchedule, Reminder, Repeat, Reply,
62 ResponseType, ShowAs, apply_event_details, join_info_text, meet_now_join_url, new_event_body,
63 new_event_body_with_join, parse_calendar_events, parse_created_event, strip_html,
64 truncate_preview,
65};
66pub use calllog::{CallDirection, CallLogEntry, CallOutcome};
67pub use cards::{
68 CardActions, ChatApp, InvokeRequest, InvokeResponse, TaskContent, TaskContinue, TaskResponse,
69};
70pub use channel_notifications::{ChannelNotificationLevel, ChannelNotifications, ChannelSettings};
71pub use channel_visibility::{ChannelKind, ChannelMembership, ChannelTarget, ChannelVisibility};
72pub use chat_listing::{ChatListing, ConversationPage, MessagePage, aggregator_chat};
73pub use chat_notifications::{ChatNotificationMode, ChatNotificationWrite, DesktopNotifications};
74pub use chat_settings::{
75 ActivityAlert, ChatAccountSettings, ChatSettingChange, ChatSettingsClient,
76 ChatSettingsDocument, EnterKeyBehavior, MeetingChatNotifications, MessageDensity,
77 NotificationAccountSettings, NotificationPreset, UpArrowBehavior,
78};
79pub use conversations::{ConversationState, Conversations};
80pub use drafts::{ScheduledDraft, ScheduledDrafts};
81pub use emotions::{EmotionReaction, MessageEmotions, parse_message_emotions, user_id_from_mri};
82pub use error::{Error, Result};
83pub use forward::{ForwardResult, MAX_FORWARD_MESSAGES};
84pub use gifs::{Gif, Gifs};
85pub use tenants::{Tenant, list_tenants};
86pub use google_calendar::{
87 AuthPending, GoogleCalendar, GoogleEventDraft, GoogleOAuth, TokenBundle, allocate_redirect_uri,
88 client_id_from_env, exchange_code, google_event_body, google_rsvp_query, google_rsvp_status,
89 merge_calendar_events, normalize_join_url, parse_calendar_list, parse_google_events,
90 refresh_access_token, rrule_for_repeat, wait_for_code,
91};
92pub use language_settings::{
93 LanguageSettings, LanguageSettingsClient, TranslationBehavior, authoring_patch, behavior_patch,
94 parse_language_settings, target_patch,
95};
96pub use links::{LinkImage, LinkInfo, MessageLinks, hosted_content_image_url, is_link_image_url};
97pub use mask::mask_conversation_id;
98pub use members::{
99 HistoryShare, INVALID_TOPIC_CHARACTER, MAX_HISTORY_DAYS, MAX_TOPIC_LENGTH, ThreadMembers,
100 TopicProblem, topic_problem,
101};
102pub use messages::{ConversationRef, Messages};
103pub use pins::{
104 ChannelLayout, ChannelTab, Folder, FolderKind, Folders, PinnedChannels, PinnedChats,
105 PinnedMessage, Pins, TeamLayout, TeamRights,
106};
107pub use post_follow::{PostFollowState, parse_post_follow_states};
108pub use presence::{
109 ActivityReporting, ForcedAvailability, ForcedKind, PresenceLookup, PresenceService,
110 PresenceStatus, StatusNote, UserPresence, WorkLocation, WorkLocationKind, WorkLocationSource,
111 error_status, is_endpoint_missing,
112};
113pub use reactions::{
114 CustomEmoji, custom_emoji, emotion_glyph, emotion_key, emotion_keys, insert_skin_tone,
115 reaction_glyph_for_key, reaction_key, reaction_keys,
116};
117pub use read_horizon::ReadHorizon;
118pub use realtime::{
119 CallbackReplier, EventKind, InstanceNames, MessageEvent, PresenceUpdate, Realtime,
120 RealtimeConfig, RealtimeEvent, StatusEvent, StatusKind, TrouterCallback, TrouterEndpoint,
121 TypingEvent,
122};
123pub use recap::{
124 Attendance, AttendanceRecord, Occurrence, Recap, RecordingDetails, TranscriptFormat,
125 days_until_expiry,
126};
127pub use receipts::{MemberHorizon, Receipts};
128pub use recording_policy::{RecordingPolicy, parse_recording_policy};
129pub use saved::SavedMessage;
130pub use settings::{
131 AppConsumptionHorizon, ChatSection, ChatSectionSettings, UserSettings,
132 parse_app_consumption_horizon,
133};
134pub use substrate_search::{
135 QueryRequest, QueryResults, QueryScope, SearchIdentity, SearchSession, SubstrateSearch,
136 Suggestions,
137};
138pub use team_admin::{
139 ChannelEdit, ChannelPrivacy, ExistingChannel, Mailbox, NewChannel, TeamAdmin,
140};
141pub use thread_activity::{ThreadActivity, ThreadActivityKind};
142pub use transcripts::{MeetingTranscript, TranscriptError, TranscriptTurn, Transcripts};
143pub use translate::{
144 Language, MAX_TRANSLATE_BATCH, MessageLanguage, TranslateRequest, Translation,
145 TranslationStatus, TranslationTrigger, Translator, language_code,
146};
147pub use user_profiles::{UserProfile, UserProfiles};
148pub use window::{MessageWindow, WindowDirection};