BlueGit

ict rusty-teams

Files

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

lib.rs

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