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::{LinkImage, LinkInfo, MessageLinks, hosted_content_image_url, is_link_image_url};
96pub use mask::mask_conversation_id;
97pub use members::{
98 HistoryShare, INVALID_TOPIC_CHARACTER, MAX_HISTORY_DAYS, MAX_TOPIC_LENGTH, ThreadMembers,
99 TopicProblem, topic_problem,
100};
101pub use messages::{ConversationRef, Messages};
102pub use pins::{
103 ChannelLayout, ChannelTab, Folder, FolderKind, Folders, PinnedChannels, PinnedChats,
104 PinnedMessage, Pins, TeamLayout, TeamRights,
105};
106pub use post_follow::{PostFollowState, parse_post_follow_states};
107pub use presence::{
108 ActivityReporting, ForcedAvailability, ForcedKind, PresenceLookup, PresenceService,
109 PresenceStatus, StatusNote, UserPresence, WorkLocation, WorkLocationKind, WorkLocationSource,
110 error_status, is_endpoint_missing,
111};
112pub use reactions::{
113 CustomEmoji, custom_emoji, emotion_glyph, emotion_key, emotion_keys, insert_skin_tone,
114 reaction_glyph_for_key, reaction_key, reaction_keys,
115};
116pub use read_horizon::ReadHorizon;
117pub use realtime::{
118 CallbackReplier, EventKind, InstanceNames, MessageEvent, PresenceUpdate, Realtime,
119 RealtimeConfig, RealtimeEvent, StatusEvent, StatusKind, TrouterCallback, TrouterEndpoint,
120 TypingEvent,
121};
122pub use recap::{
123 Attendance, AttendanceRecord, Occurrence, Recap, RecordingDetails, TranscriptFormat,
124 days_until_expiry,
125};
126pub use receipts::{MemberHorizon, Receipts};
127pub use recording_policy::{RecordingPolicy, parse_recording_policy};
128pub use saved::SavedMessage;
129pub use settings::{
130 AppConsumptionHorizon, ChatSection, ChatSectionSettings, UserSettings,
131 parse_app_consumption_horizon,
132};
133pub use substrate_search::{
134 QueryRequest, QueryResults, QueryScope, SearchIdentity, SearchSession, SubstrateSearch,
135 Suggestions,
136};
137pub use team_admin::{
138 ChannelEdit, ChannelPrivacy, ExistingChannel, Mailbox, NewChannel, TeamAdmin,
139};
140pub use tenants::{Tenant, list_tenants};
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};