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 google_calendar::{
86 AuthPending, GoogleCalendar, GoogleEventDraft, GoogleOAuth, TokenBundle, allocate_redirect_uri,
87 client_id_from_env, exchange_code, google_event_body, google_rsvp_query, google_rsvp_status,
88 merge_calendar_events, normalize_join_url, parse_calendar_list, parse_google_events,
89 refresh_access_token, rrule_for_repeat, wait_for_code,
90};
91pub use language_settings::{
92 LanguageSettings, LanguageSettingsClient, TranslationBehavior, authoring_patch, behavior_patch,
93 parse_language_settings, target_patch,
94};
95pub use links::{
96 LinkImage, LinkInfo, MessageLinks, hosted_content_image_url, is_ams_image_url,
97 is_link_image_url,
98};
99pub use mask::mask_conversation_id;
100pub use members::{
101 HistoryShare, INVALID_TOPIC_CHARACTER, MAX_HISTORY_DAYS, MAX_TOPIC_LENGTH, ThreadMembers,
102 TopicProblem, topic_problem,
103};
104pub use messages::{ConversationRef, Messages};
105pub use pins::{
106 ChannelLayout, ChannelTab, Folder, FolderKind, Folders, PinnedChannels, PinnedChats,
107 PinnedMessage, Pins, TeamLayout, TeamRights,
108};
109pub use post_follow::{PostFollowState, parse_post_follow_states};
110pub use presence::{
111 ActivityReporting, ForcedAvailability, ForcedKind, PresenceLookup, PresenceService,
112 PresenceStatus, StatusNote, UserPresence, WorkLocation, WorkLocationKind, WorkLocationSource,
113 error_status, is_endpoint_missing,
114};
115pub use reactions::{
116 CustomEmoji, custom_emoji, emotion_glyph, emotion_key, emotion_keys, insert_skin_tone,
117 reaction_glyph_for_key, reaction_key, reaction_keys,
118};
119pub use read_horizon::ReadHorizon;
120pub use realtime::{
121 CallbackReplier, EventKind, InstanceNames, MessageEvent, PresenceUpdate, Realtime,
122 RealtimeConfig, RealtimeEvent, StatusEvent, StatusKind, TrouterCallback, TrouterEndpoint,
123 TypingEvent,
124};
125pub use recap::{
126 Attendance, AttendanceRecord, Occurrence, Recap, RecordingDetails, TranscriptFormat,
127 days_until_expiry,
128};
129pub use receipts::{MemberHorizon, Receipts};
130pub use recording_policy::{RecordingPolicy, parse_recording_policy};
131pub use saved::SavedMessage;
132pub use settings::{
133 AppConsumptionHorizon, ChatSection, ChatSectionSettings, UserSettings,
134 parse_app_consumption_horizon,
135};
136pub use substrate_search::{
137 QueryRequest, QueryResults, QueryScope, SearchIdentity, SearchSession, SubstrateSearch,
138 Suggestions,
139};
140pub use team_admin::{
141 ChannelEdit, ChannelPrivacy, ExistingChannel, Mailbox, NewChannel, TeamAdmin,
142};
143pub use tenants::{Tenant, list_tenants};
144pub use thread_activity::{ThreadActivity, ThreadActivityKind};
145pub use transcripts::{MeetingTranscript, TranscriptError, TranscriptTurn, Transcripts};
146pub use translate::{
147 Language, MAX_TRANSLATE_BATCH, MessageLanguage, TranslateRequest, Translation,
148 TranslationStatus, TranslationTrigger, Translator, language_code,
149};
150pub use user_profiles::{UserProfile, UserProfiles};
151pub use window::{MessageWindow, WindowDirection};