@mattermost/types 11.3.0 → 11.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/config.d.ts CHANGED
@@ -315,6 +315,7 @@ export type ServiceSettings = {
315
315
  GoroutineHealthThreshold: number;
316
316
  GoogleDeveloperKey: string;
317
317
  EnableOAuthServiceProvider: boolean;
318
+ EnableDynamicClientRegistration: boolean;
318
319
  EnableIncomingWebhooks: boolean;
319
320
  EnableOutgoingWebhooks: boolean;
320
321
  EnableOutgoingOAuthConnections: boolean;
@@ -402,6 +403,10 @@ export type ServiceSettings = {
402
403
  PersistentNotificationIntervalMinutes: number;
403
404
  PersistentNotificationMaxCount: number;
404
405
  PersistentNotificationMaxRecipients: number;
406
+ EnableBurnOnRead: boolean;
407
+ BurnOnReadDurationSeconds: number;
408
+ BurnOnReadMaximumTimeToLiveSeconds: number;
409
+ BurnOnReadSchedulerFrequencySeconds: number;
405
410
  UniqueEmojiReactionLimitPerPost: number;
406
411
  RefreshPostStatsRunTime: string;
407
412
  MaximumPayloadSizeBytes: number;
@@ -717,7 +722,7 @@ export type AutoTranslationSettings = {
717
722
  URL: string;
718
723
  APIKey: string;
719
724
  };
720
- TimeoutMs: {
725
+ TimeoutsMs: {
721
726
  NewPost: number;
722
727
  Fetch: number;
723
728
  Notification: number;
@@ -800,6 +805,7 @@ export type MetricsSettings = {
800
805
  ClientSideUserIds: string[];
801
806
  };
802
807
  export type ExperimentalSettings = {
808
+ ClientSideCertEnable: boolean;
803
809
  LinkMetadataTimeoutMilliseconds: number;
804
810
  RestrictSystemAdmin: boolean;
805
811
  EnableSharedChannels: boolean;
@@ -0,0 +1,34 @@
1
+ export type Recap = {
2
+ id: string;
3
+ user_id: string;
4
+ title: string;
5
+ create_at: number;
6
+ update_at: number;
7
+ delete_at: number;
8
+ read_at: number;
9
+ total_message_count: number;
10
+ status: RecapStatus;
11
+ bot_id: string;
12
+ channels?: RecapChannel[];
13
+ };
14
+ export type RecapChannel = {
15
+ id: string;
16
+ recap_id: string;
17
+ channel_id: string;
18
+ channel_name: string;
19
+ highlights: string[];
20
+ action_items: string[];
21
+ source_post_ids: string[];
22
+ create_at: number;
23
+ };
24
+ export type CreateRecapRequest = {
25
+ title: string;
26
+ channel_ids: string[];
27
+ agent_id: string;
28
+ };
29
+ export declare enum RecapStatus {
30
+ PENDING = "pending",
31
+ PROCESSING = "processing",
32
+ COMPLETED = "completed",
33
+ FAILED = "failed"
34
+ }
package/lib/recaps.js ADDED
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RecapStatus = void 0;
6
+ var RecapStatus;
7
+ (function (RecapStatus) {
8
+ RecapStatus["PENDING"] = "pending";
9
+ RecapStatus["PROCESSING"] = "processing";
10
+ RecapStatus["COMPLETED"] = "completed";
11
+ RecapStatus["FAILED"] = "failed";
12
+ })(RecapStatus || (exports.RecapStatus = RecapStatus = {}));
package/lib/store.d.ts CHANGED
@@ -16,6 +16,7 @@ import type { JobsState } from './jobs';
16
16
  import type { LimitsState } from './limits';
17
17
  import type { PostsState } from './posts';
18
18
  import type { PreferenceType } from './preferences';
19
+ import type { Recap } from './recaps';
19
20
  import type { AdminRequestsStatuses, ChannelsRequestsStatuses, FilesRequestsStatuses, GeneralRequestsStatuses, PostsRequestsStatuses, RolesRequestsStatuses, TeamsRequestsStatuses, UsersRequestsStatuses } from './requests';
20
21
  import type { Role } from './roles';
21
22
  import type { ScheduledPostsState } from './schedule_post';
@@ -36,6 +37,10 @@ export type GlobalState = {
36
37
  channelBookmarks: ChannelBookmarksState;
37
38
  posts: PostsState;
38
39
  threads: ThreadsState;
40
+ recaps: {
41
+ byId: Record<string, Recap>;
42
+ allIds: string[];
43
+ };
39
44
  agents: {
40
45
  agents: Array<{
41
46
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/types",
3
- "version": "11.3.0",
3
+ "version": "11.4.0",
4
4
  "description": "Shared type definitions used by the Mattermost web app",
5
5
  "keywords": [
6
6
  "mattermost"