BlueGit

ict rusty-teams

Files

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

lib.rs

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