@mattermost/types 7.4.0 → 7.8.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/apps.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ProductScope } from './products';
1
2
  export declare enum Permission {
2
3
  UserJoinedChannelNotification = "user_joined_channel_notification",
3
4
  ActAsBot = "act_as_bot",
@@ -41,6 +42,7 @@ export declare type AppsState = {
41
42
  export declare type AppBinding = {
42
43
  app_id: string;
43
44
  location?: string;
45
+ supported_product_ids?: ProductScope;
44
46
  icon?: string;
45
47
  label: string;
46
48
  hint?: string;
package/lib/boards.d.ts CHANGED
@@ -4,3 +4,55 @@ export declare type BoardsUsageResponse = {
4
4
  used_cards: number;
5
5
  card_limit_timestamp: number;
6
6
  };
7
+ declare const boardTypes: string[];
8
+ declare type BoardTypes = typeof boardTypes[number];
9
+ declare type PropertyTypeEnum = 'text' | 'number' | 'select' | 'multiSelect' | 'date' | 'person' | 'file' | 'checkbox' | 'url' | 'email' | 'phone' | 'createdTime' | 'createdBy' | 'updatedTime' | 'updatedBy' | 'unknown';
10
+ interface IPropertyOption {
11
+ id: string;
12
+ value: string;
13
+ color: string;
14
+ }
15
+ interface IPropertyTemplate {
16
+ id: string;
17
+ name: string;
18
+ type: PropertyTypeEnum;
19
+ options: IPropertyOption[];
20
+ }
21
+ export declare type Board = {
22
+ id: string;
23
+ teamId: string;
24
+ channelId?: string;
25
+ createdBy: string;
26
+ modifiedBy: string;
27
+ type: BoardTypes;
28
+ minimumRole: string;
29
+ title: string;
30
+ description: string;
31
+ icon?: string;
32
+ showDescription: boolean;
33
+ isTemplate: boolean;
34
+ templateVersion: number;
35
+ properties: Record<string, string | string[]>;
36
+ cardProperties: IPropertyTemplate[];
37
+ createAt: number;
38
+ updateAt: number;
39
+ deleteAt: number;
40
+ };
41
+ export declare type BoardTemplate = Board;
42
+ export declare type BoardPatch = {
43
+ channelId?: string;
44
+ type?: BoardTypes;
45
+ minimumRole?: string;
46
+ title?: string;
47
+ description?: string;
48
+ icon?: string;
49
+ showDescription?: boolean;
50
+ updatedProperties?: Record<string, any>;
51
+ deletedProperties?: string[];
52
+ updatedCardProperties?: IPropertyTemplate[];
53
+ deletedCardProperties?: string[];
54
+ };
55
+ export declare type CreateBoardResponse = {
56
+ boards: Board[];
57
+ };
58
+ export {};
package/lib/boards.js CHANGED
@@ -1,2 +1,7 @@
1
1
  "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
2
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ const BoardTypeOpen = 'O';
6
+ const BoardTypePrivate = 'P';
7
+ const boardTypes = [BoardTypeOpen, BoardTypePrivate];
package/lib/channels.d.ts CHANGED
@@ -79,6 +79,8 @@ export declare type ChannelMembership = {
79
79
  mention_count: number;
80
80
  /** The number of unread mentions in root posts in this channel */
81
81
  mention_count_root: number;
82
+ /** The number of unread urgent mentions in this channel */
83
+ urgent_mention_count: number;
82
84
  notify_props: Partial<ChannelNotifyProps>;
83
85
  last_update_at: number;
84
86
  scheme_user: boolean;
@@ -95,6 +97,8 @@ export declare type ChannelUnread = {
95
97
  msg_count_root: number;
96
98
  /** The number of unread mentions in this channel */
97
99
  mention_count: number;
100
+ /** The number of unread urgent mentions in this channel */
101
+ urgent_mention_count: number;
98
102
  /** The number of unread mentions in root posts in this channel */
99
103
  mention_count_root: number;
100
104
  last_viewed_at: number;
package/lib/cloud.d.ts CHANGED
@@ -1,20 +1,26 @@
1
+ import { ValueOf } from './utilities';
1
2
  export declare type CloudState = {
2
3
  subscription?: Subscription;
3
4
  products?: Record<string, Product>;
4
5
  customer?: CloudCustomer;
5
6
  invoices?: Record<string, Invoice>;
7
+ subscriptionStats?: LicenseExpandReducer;
6
8
  limits: {
7
9
  limitsLoaded: boolean;
8
10
  limits: Limits;
9
11
  };
12
+ errors: {
13
+ subscription?: true;
14
+ products?: true;
15
+ customer?: true;
16
+ invoices?: true;
17
+ limits?: true;
18
+ };
19
+ selfHostedSignup: {
20
+ progress: ValueOf<typeof SelfHostedSignupProgress>;
21
+ };
10
22
  };
11
- export declare type Subscription = SubscriptionBase & {
12
- is_legacy_cloud_paid_tier?: boolean;
13
- };
14
- export declare type SubscriptionResponse = SubscriptionBase & {
15
- is_paid_tier: string;
16
- };
17
- declare type SubscriptionBase = {
23
+ export declare type Subscription = {
18
24
  id: string;
19
25
  customer_id: string;
20
26
  product_id: string;
@@ -24,6 +30,7 @@ declare type SubscriptionBase = {
24
30
  create_at: number;
25
31
  seats: number;
26
32
  last_invoice?: Invoice;
33
+ upcoming_invoice?: Invoice;
27
34
  trial_end_at: number;
28
35
  is_free_trial: string;
29
36
  delinquent_since?: number;
@@ -38,6 +45,7 @@ export declare type Product = {
38
45
  sku: string;
39
46
  billing_scheme: string;
40
47
  recurring_interval: string;
48
+ cross_sells_to: string;
41
49
  };
42
50
  export declare type AddOn = {
43
51
  id: string;
@@ -45,6 +53,23 @@ export declare type AddOn = {
45
53
  display_name: string;
46
54
  price_per_seat: number;
47
55
  };
56
+ export declare const TypePurchases: {
57
+ readonly firstSelfHostLicensePurchase: "first_purchase";
58
+ readonly renewalSelfHost: "renewal_self";
59
+ readonly monthlySubscription: "monthly_subscription";
60
+ readonly annualSubscription: "annual_subscription";
61
+ };
62
+ export declare const SelfHostedSignupProgress: {
63
+ readonly START: "START";
64
+ readonly CREATED_CUSTOMER: "CREATED_CUSTOMER";
65
+ readonly CREATED_INTENT: "CREATED_INTENT";
66
+ readonly CONFIRMED_INTENT: "CONFIRMED_INTENT";
67
+ readonly CREATED_SUBSCRIPTION: "CREATED_SUBSCRIPTION";
68
+ readonly PAID: "PAID";
69
+ readonly CREATED_LICENSE: "CREATED_LICENSE";
70
+ };
71
+ export declare type MetadataGatherWireTransferKeys = `${ValueOf<typeof TypePurchases>}_alt_payment_method`;
72
+ export declare type CustomerMetadataGatherWireTransfer = Partial<Record<MetadataGatherWireTransferKeys, string>>;
48
73
  export declare type CloudCustomer = {
49
74
  id: string;
50
75
  creator_id: string;
@@ -57,14 +82,21 @@ export declare type CloudCustomer = {
57
82
  billing_address: Address;
58
83
  company_address: Address;
59
84
  payment_method: PaymentMethod;
85
+ } & CustomerMetadataGatherWireTransfer;
86
+ export declare type LicenseExpandStatus = {
87
+ is_expandable: boolean;
60
88
  };
89
+ declare type RequestState = 'IDLE' | 'LOADING' | 'ERROR' | 'OK';
90
+ export interface LicenseExpandReducer extends LicenseExpandStatus {
91
+ getRequestState: RequestState;
92
+ }
61
93
  export declare type CloudCustomerPatch = {
62
94
  email?: string;
63
95
  name?: string;
64
96
  num_employees?: number;
65
97
  contact_first_name?: string;
66
98
  contact_last_name?: string;
67
- };
99
+ } & CustomerMetadataGatherWireTransfer;
68
100
  export declare type Address = {
69
101
  city: string;
70
102
  country: string;
@@ -116,9 +148,6 @@ export declare type InvoiceLineItem = {
116
148
  metadata: Record<string, string>;
117
149
  };
118
150
  export declare type Limits = {
119
- integrations?: {
120
- enabled?: number;
121
- };
122
151
  messages?: {
123
152
  history?: number;
124
153
  };
@@ -147,11 +176,6 @@ export interface CloudUsage {
147
176
  cardsLoaded: boolean;
148
177
  };
149
178
  teams: TeamsUsage;
150
- integrations: IntegrationsUsage;
151
- }
152
- export interface IntegrationsUsage {
153
- enabled: number;
154
- enabledLoaded: boolean;
155
179
  }
156
180
  export declare type TeamsUsage = {
157
181
  active: number;
@@ -161,4 +185,10 @@ export declare type TeamsUsage = {
161
185
  export declare type ValidBusinessEmail = {
162
186
  is_valid: boolean;
163
187
  };
188
+ export interface CreateSubscriptionRequest {
189
+ product_id: string;
190
+ add_ons: string[];
191
+ seats: number;
192
+ internal_purchase_order?: string;
193
+ }
164
194
  export {};
package/lib/cloud.js CHANGED
@@ -2,7 +2,22 @@
2
2
  // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
3
  // See LICENSE.txt for license information.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.InvoiceLineItemType = void 0;
5
+ exports.InvoiceLineItemType = exports.SelfHostedSignupProgress = exports.TypePurchases = void 0;
6
+ exports.TypePurchases = {
7
+ firstSelfHostLicensePurchase: 'first_purchase',
8
+ renewalSelfHost: 'renewal_self',
9
+ monthlySubscription: 'monthly_subscription',
10
+ annualSubscription: 'annual_subscription',
11
+ };
12
+ exports.SelfHostedSignupProgress = {
13
+ START: 'START',
14
+ CREATED_CUSTOMER: 'CREATED_CUSTOMER',
15
+ CREATED_INTENT: 'CREATED_INTENT',
16
+ CONFIRMED_INTENT: 'CONFIRMED_INTENT',
17
+ CREATED_SUBSCRIPTION: 'CREATED_SUBSCRIPTION',
18
+ PAID: 'PAID',
19
+ CREATED_LICENSE: 'CREATED_LICENSE',
20
+ };
6
21
  // actual string values come from customer-web-server and should be kept in sync with values seen there
7
22
  exports.InvoiceLineItemType = {
8
23
  Full: 'full',
package/lib/config.d.ts CHANGED
@@ -2,6 +2,7 @@ export declare type ClientConfig = {
2
2
  AboutLink: string;
3
3
  AllowBannerDismissal: string;
4
4
  AllowCustomThemes: string;
5
+ AllowSyncedDrafts: string;
5
6
  AllowedThemes: string;
6
7
  AndroidAppDownloadLink: string;
7
8
  AndroidLatestVersion: string;
@@ -49,6 +50,7 @@ export declare type ClientConfig = {
49
50
  EnableCustomEmoji: string;
50
51
  EnableCustomGroups: string;
51
52
  EnableCustomUserStatuses: string;
53
+ EnableLastActiveTime: string;
52
54
  EnableTimedDND: string;
53
55
  EnableCustomTermsOfService: string;
54
56
  EnableDeveloper: string;
@@ -99,8 +101,6 @@ export declare type ClientConfig = {
99
101
  EnforceMultifactorAuthentication: string;
100
102
  ExperimentalClientSideCertCheck: string;
101
103
  ExperimentalClientSideCertEnable: string;
102
- ExperimentalCloudBilling: string;
103
- ExperimentalDataPrefetch: string;
104
104
  ExperimentalEnableAuthenticationTransfer: string;
105
105
  ExperimentalEnableAutomaticReplies: string;
106
106
  ExperimentalEnableDefaultChannelLeaveJoinMessages: string;
@@ -110,8 +110,9 @@ export declare type ClientConfig = {
110
110
  ExperimentalTimezone: string;
111
111
  ExperimentalViewArchivedChannels: string;
112
112
  FileLevel: string;
113
+ FeatureFlagBoardsProduct: string;
113
114
  FeatureFlagGraphQL: string;
114
- FeatureFlagPlanUpgradeButtonText: string;
115
+ FeatureFlagAnnualSubscription: string;
115
116
  GfycatAPIKey: string;
116
117
  GfycatAPISecret: string;
117
118
  GoogleDeveloperKey: string;
@@ -184,6 +185,8 @@ export declare type ClientConfig = {
184
185
  EnableAppBar: string;
185
186
  EnableComplianceExport: string;
186
187
  PostPriority: string;
188
+ ReduceOnBoardingTaskList: string;
189
+ PostAcknowledgements: string;
187
190
  };
188
191
  export declare type License = {
189
192
  id: string;
@@ -269,8 +272,12 @@ export declare type ServiceSettings = {
269
272
  EnablePostUsernameOverride: boolean;
270
273
  EnablePostIconOverride: boolean;
271
274
  EnableLinkPreviews: boolean;
275
+ EnablePermalinkPreviews: boolean;
276
+ RestrictLinkPreviews: string;
272
277
  EnableTesting: boolean;
273
278
  EnableDeveloper: boolean;
279
+ DeveloperFlags: string;
280
+ EnableClientPerformanceDebugging: boolean;
274
281
  EnableOpenTracing: boolean;
275
282
  EnableSecurityFixAlert: boolean;
276
283
  EnableInsecureOutgoingConnections: boolean;
@@ -298,11 +305,12 @@ export declare type ServiceSettings = {
298
305
  EnableCustomEmoji: boolean;
299
306
  EnableEmojiPicker: boolean;
300
307
  EnableGifPicker: boolean;
301
- GfycatApiKey: string;
302
- GfycatApiSecret: string;
308
+ GfycatAPIKey: string;
309
+ GfycatAPISecret: string;
303
310
  PostEditTimeLimit: number;
304
311
  TimeBetweenUserTypingUpdatesMilliseconds: number;
305
312
  EnablePostSearch: boolean;
313
+ EnableFileSearch: boolean;
306
314
  MinimumHashtagLength: number;
307
315
  EnableUserTypingMessages: boolean;
308
316
  EnableChannelViewedMessages: boolean;
@@ -314,8 +322,9 @@ export declare type ServiceSettings = {
314
322
  EnableOnboardingFlow: boolean;
315
323
  ExperimentalEnableDefaultChannelLeaveJoinMessages: boolean;
316
324
  ExperimentalGroupUnreadChannels: string;
317
- ExperimentalDataPrefetch: boolean;
318
325
  EnableAPITeamDeletion: boolean;
326
+ EnableAPITriggerAdminNotifications: boolean;
327
+ EnableAPIUserDeletion: boolean;
319
328
  ExperimentalEnableHardenedMode: boolean;
320
329
  ExperimentalStrictCSRFEnforcement: boolean;
321
330
  EnableEmailInvitations: boolean;
@@ -323,11 +332,21 @@ export declare type ServiceSettings = {
323
332
  EnableBotAccountCreation: boolean;
324
333
  EnableSVGs: boolean;
325
334
  EnableLatex: boolean;
335
+ EnableInlineLatex: boolean;
326
336
  EnableLocalMode: boolean;
327
337
  LocalModeSocketLocation: string;
328
338
  CollapsedThreads: CollapsedThreads;
329
339
  ThreadAutoFollow: boolean;
330
340
  PostPriority: boolean;
341
+ EnableAPIChannelDeletion: boolean;
342
+ EnableAWSMetering: boolean;
343
+ SplitKey: string;
344
+ FeatureFlagSyncIntervalSeconds: number;
345
+ DebugSplit: boolean;
346
+ ManagedResourcePaths: string;
347
+ EnableCustomGroups: boolean;
348
+ SelfHostedPurchase: boolean;
349
+ AllowSyncedDrafts: boolean;
331
350
  };
332
351
  export declare type TeamSettings = {
333
352
  SiteName: string;
@@ -351,6 +370,7 @@ export declare type TeamSettings = {
351
370
  LockTeammateNameDisplay: boolean;
352
371
  ExperimentalPrimaryTeam: string;
353
372
  ExperimentalDefaultChannels: string[];
373
+ EnableLastActiveTime: boolean;
354
374
  };
355
375
  export declare type ClientRequirements = {
356
376
  AndroidLatestVersion: string;
@@ -365,16 +385,20 @@ export declare type SqlSettings = {
365
385
  DataSourceSearchReplicas: string[];
366
386
  MaxIdleConns: number;
367
387
  ConnMaxLifetimeMilliseconds: number;
388
+ ConnMaxIdleTimeMilliseconds: number;
368
389
  MaxOpenConns: number;
369
390
  Trace: boolean;
370
391
  AtRestEncryptKey: string;
371
392
  QueryTimeout: number;
372
393
  DisableDatabaseSearch: boolean;
394
+ MigrationsStatementTimeoutSeconds: number;
395
+ ReplicaLagSettings: ReplicaLagSetting[];
373
396
  };
374
397
  export declare type LogSettings = {
375
398
  EnableConsole: boolean;
376
399
  ConsoleLevel: string;
377
400
  ConsoleJson: boolean;
401
+ EnableColor: boolean;
378
402
  EnableFile: boolean;
379
403
  FileLevel: string;
380
404
  FileJson: boolean;
@@ -382,15 +406,9 @@ export declare type LogSettings = {
382
406
  EnableWebhookDebugging: boolean;
383
407
  EnableDiagnostics: boolean;
384
408
  EnableSentry: boolean;
409
+ AdvancedLoggingConfig: string;
385
410
  };
386
411
  export declare type ExperimentalAuditSettings = {
387
- SysLogEnabled: boolean;
388
- SysLogIP: string;
389
- SysLogPort: number;
390
- SysLogTag: string;
391
- SysLogCert: string;
392
- SysLogInsecure: boolean;
393
- SysLogMaxQueueSize: number;
394
412
  FileEnabled: boolean;
395
413
  FileName: string;
396
414
  FileMaxSizeMB: number;
@@ -398,15 +416,18 @@ export declare type ExperimentalAuditSettings = {
398
416
  FileMaxBackups: number;
399
417
  FileCompress: boolean;
400
418
  FileMaxQueueSize: number;
419
+ AdvancedLoggingConfig: string;
401
420
  };
402
421
  export declare type NotificationLogSettings = {
403
422
  EnableConsole: boolean;
404
423
  ConsoleLevel: string;
405
424
  ConsoleJson: boolean;
425
+ EnableColor: boolean;
406
426
  EnableFile: boolean;
407
427
  FileLevel: string;
408
428
  FileJson: boolean;
409
429
  FileLocation: string;
430
+ AdvancedLoggingConfig: string;
410
431
  };
411
432
  export declare type PasswordSettings = {
412
433
  MinimumLength: number;
@@ -420,20 +441,26 @@ export declare type FileSettings = {
420
441
  EnableMobileUpload: boolean;
421
442
  EnableMobileDownload: boolean;
422
443
  MaxFileSize: number;
444
+ MaxImageResolution: number;
445
+ MaxImageDecoderConcurrency: number;
423
446
  DriverName: string;
424
447
  Directory: string;
425
448
  EnablePublicLink: boolean;
449
+ ExtractContent: boolean;
450
+ ArchiveRecursion: boolean;
426
451
  PublicLinkSalt: string;
427
452
  InitialFont: string;
428
453
  AmazonS3AccessKeyId: string;
429
454
  AmazonS3SecretAccessKey: string;
430
455
  AmazonS3Bucket: string;
456
+ AmazonS3PathPrefix: string;
431
457
  AmazonS3Region: string;
432
458
  AmazonS3Endpoint: string;
433
459
  AmazonS3SSL: boolean;
434
460
  AmazonS3SignV2: boolean;
435
461
  AmazonS3SSE: boolean;
436
462
  AmazonS3Trace: boolean;
463
+ AmazonS3RequestTimeoutMilliseconds: number;
437
464
  };
438
465
  export declare type EmailSettings = {
439
466
  EnableSignUpWithEmail: boolean;
@@ -456,6 +483,7 @@ export declare type EmailSettings = {
456
483
  SendPushNotifications: boolean;
457
484
  PushNotificationServer: string;
458
485
  PushNotificationContents: string;
486
+ PushNotificationBuffer: number;
459
487
  EnableEmailBatching: boolean;
460
488
  EmailBatchingBufferSize: number;
461
489
  EmailBatchingInterval: number;
@@ -465,6 +493,7 @@ export declare type EmailSettings = {
465
493
  LoginButtonColor: string;
466
494
  LoginButtonBorderColor: string;
467
495
  LoginButtonTextColor: string;
496
+ EnableInactivityEmail: boolean;
468
497
  };
469
498
  export declare type RateLimitSettings = {
470
499
  Enable: boolean;
@@ -488,6 +517,7 @@ export declare type SupportSettings = {
488
517
  SupportEmail: string;
489
518
  CustomTermsOfServiceEnabled: boolean;
490
519
  CustomTermsOfServiceReAcceptancePeriod: number;
520
+ EnableAskCommunityLink: boolean;
491
521
  };
492
522
  export declare type AnnouncementSettings = {
493
523
  EnableBanner: boolean;
@@ -495,6 +525,11 @@ export declare type AnnouncementSettings = {
495
525
  BannerColor: string;
496
526
  BannerTextColor: string;
497
527
  AllowBannerDismissal: boolean;
528
+ AdminNoticesEnabled: boolean;
529
+ UserNoticesEnabled: boolean;
530
+ NoticesURL: string;
531
+ NoticesFetchFrequency: number;
532
+ NoticesSkipCache: boolean;
498
533
  };
499
534
  export declare type ThemeSettings = {
500
535
  EnableThemeSelection: boolean;
@@ -552,6 +587,8 @@ export declare type LdapSettings = {
552
587
  PictureAttribute: string;
553
588
  SyncIntervalMinutes: number;
554
589
  SkipCertificateVerification: boolean;
590
+ PublicCertificateFile: string;
591
+ PrivateKeyFile: string;
555
592
  QueryTimeout: number;
556
593
  MaxPageSize: number;
557
594
  LoginFieldName: string;
@@ -564,6 +601,7 @@ export declare type ComplianceSettings = {
564
601
  Enable: boolean;
565
602
  Directory: string;
566
603
  EnableDaily: boolean;
604
+ BatchSize: number;
567
605
  };
568
606
  export declare type LocalizationSettings = {
569
607
  DefaultServerLocale: string;
@@ -581,6 +619,7 @@ export declare type SamlSettings = {
581
619
  IdpURL: string;
582
620
  IdpDescriptorURL: string;
583
621
  IdpMetadataURL: string;
622
+ ServiceProviderIdentifier: string;
584
623
  AssertionConsumerServiceURL: string;
585
624
  SignatureAlgorithm: string;
586
625
  CanonicalAlgorithm: string;
@@ -606,6 +645,7 @@ export declare type SamlSettings = {
606
645
  LoginButtonTextColor: string;
607
646
  };
608
647
  export declare type NativeAppSettings = {
648
+ AppCustomURLSchemes: string[];
609
649
  AppDownloadLink: string;
610
650
  AndroidAppDownloadLink: string;
611
651
  IosAppDownloadLink: string;
@@ -618,6 +658,7 @@ export declare type ClusterSettings = {
618
658
  BindAddress: string;
619
659
  AdvertiseAddress: string;
620
660
  UseIPAddress: boolean;
661
+ EnableGossipCompression: boolean;
621
662
  EnableExperimentalGossipEncryption: boolean;
622
663
  ReadOnlyConfig: boolean;
623
664
  GossipPort: number;
@@ -637,7 +678,10 @@ export declare type ExperimentalSettings = {
637
678
  LinkMetadataTimeoutMilliseconds: number;
638
679
  RestrictSystemAdmin: boolean;
639
680
  UseNewSAMLLibrary: boolean;
640
- CloudBilling: boolean;
681
+ EnableSharedChannels: boolean;
682
+ EnableRemoteClusterService: boolean;
683
+ EnableAppBar: boolean;
684
+ PatchPluginsReactDOM: boolean;
641
685
  };
642
686
  export declare type AnalyticsSettings = {
643
687
  MaxUsersForStatistics: number;
@@ -680,6 +724,7 @@ export declare type DataRetentionSettings = {
680
724
  FileRetentionDays: number;
681
725
  BoardsRetentionDays: number;
682
726
  DeletionJobStartTime: string;
727
+ BatchSize: number;
683
728
  };
684
729
  export declare type MessageExportSettings = {
685
730
  EnableExport: boolean;
@@ -693,11 +738,17 @@ export declare type MessageExportSettings = {
693
738
  SMTPUsername: string;
694
739
  SMTPPassword: string;
695
740
  EmailAddress: string;
741
+ SMTPServerTimeout: number;
696
742
  };
697
743
  };
698
744
  export declare type JobSettings = {
699
745
  RunJobs: boolean;
700
746
  RunScheduler: boolean;
747
+ CleanupJobsThresholdDays: number;
748
+ CleanupConfigThresholdDays: number;
749
+ };
750
+ export declare type ProductSettings = {
751
+ EnablePublicSharedBoards: boolean;
701
752
  };
702
753
  export declare type PluginSettings = {
703
754
  Enable: boolean;
@@ -716,6 +767,7 @@ export declare type PluginSettings = {
716
767
  RequirePluginSignature: boolean;
717
768
  MarketplaceURL: string;
718
769
  SignaturePublicKeyFiles: string[];
770
+ ChimeraOAuthProxyURL: string;
719
771
  };
720
772
  export declare type DisplaySettings = {
721
773
  CustomURLSchemes: string[];
@@ -733,7 +785,19 @@ export declare type ImageProxySettings = {
733
785
  RemoteImageProxyURL: string;
734
786
  RemoteImageProxyOptions: string;
735
787
  };
736
- export declare type FeatureFlags = Record<string, string>;
788
+ export declare type CloudSettings = {
789
+ CWSURL: string;
790
+ CWSAPIURL: string;
791
+ };
792
+ export declare type FeatureFlags = Record<string, string | boolean>;
793
+ export declare type ImportSettings = {
794
+ Directory: string;
795
+ RetentionDays: number;
796
+ };
797
+ export declare type ExportSettings = {
798
+ Directory: string;
799
+ RetentionDays: number;
800
+ };
737
801
  export declare type AdminConfig = {
738
802
  ServiceSettings: ServiceSettings;
739
803
  TeamSettings: TeamSettings;
@@ -768,11 +832,20 @@ export declare type AdminConfig = {
768
832
  DataRetentionSettings: DataRetentionSettings;
769
833
  MessageExportSettings: MessageExportSettings;
770
834
  JobSettings: JobSettings;
835
+ ProductSettings: ProductSettings;
771
836
  PluginSettings: PluginSettings;
772
837
  DisplaySettings: DisplaySettings;
773
838
  GuestAccountsSettings: GuestAccountsSettings;
774
839
  ImageProxySettings: ImageProxySettings;
840
+ CloudSettings: CloudSettings;
775
841
  FeatureFlags: FeatureFlags;
842
+ ImportSettings: ImportSettings;
843
+ ExportSettings: ExportSettings;
844
+ };
845
+ export declare type ReplicaLagSetting = {
846
+ DataSource: string;
847
+ QueryAbsoluteLag: string;
848
+ QueryTimeLag: string;
776
849
  };
777
850
  export declare type EnvironmentConfigSettings<T> = {
778
851
  [P in keyof T]: boolean;
@@ -0,0 +1,14 @@
1
+ import { PostMetadata, PostPriorityMetadata } from './posts';
2
+ export declare type Draft = {
3
+ create_at: number;
4
+ update_at: number;
5
+ delete_at: number;
6
+ user_id: string;
7
+ channel_id: string;
8
+ root_id: string;
9
+ message: string;
10
+ props: Record<string, any>;
11
+ file_ids?: string[];
12
+ metadata?: PostMetadata;
13
+ priority?: PostPriorityMetadata;
14
+ };
package/lib/drafts.js ADDED
@@ -0,0 +1,4 @@
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 });
package/lib/files.d.ts CHANGED
@@ -15,6 +15,7 @@ export declare type FileInfo = {
15
15
  post_id?: string;
16
16
  mini_preview?: string;
17
17
  archived: boolean;
18
+ link?: string;
18
19
  };
19
20
  export declare type FilesState = {
20
21
  files: Record<string, FileInfo>;
package/lib/gifs.d.ts CHANGED
@@ -35,7 +35,7 @@ declare type GifsSearchState = {
35
35
  searchBarText: string;
36
36
  searchText: string;
37
37
  };
38
- declare type GifsResult = GfycatAPIPaginatedResponse & {
38
+ export declare type GifsResult = GfycatAPIPaginatedResponse & {
39
39
  count: number;
40
40
  currentPage: number;
41
41
  didInvalidate: boolean;
package/lib/groups.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { UserProfile } from './users';
2
2
  import { RelationOneToOne } from './utilities';
3
- export declare type SyncableType = 'team' | 'channel';
3
+ export declare enum SyncableType {
4
+ Team = "team",
5
+ Channel = "channel"
6
+ }
4
7
  export declare type SyncablePatch = {
5
8
  scheme_admin: boolean;
6
9
  auto_add: boolean;
@@ -27,7 +30,13 @@ export declare type Group = {
27
30
  member_count: number;
28
31
  scheme_admin: boolean;
29
32
  allow_reference: boolean;
33
+ channel_member_count?: number;
34
+ channel_member_timezones_count?: number;
30
35
  };
36
+ export declare enum GroupSource {
37
+ Ldap = "ldap",
38
+ Custom = "custom"
39
+ }
31
40
  export declare type GroupTeam = {
32
41
  team_id: string;
33
42
  team_display_name: string;
@@ -121,6 +130,8 @@ export declare type GroupSearachParams = {
121
130
  per_page: number;
122
131
  include_member_count: boolean;
123
132
  user_id?: string;
133
+ include_timezones?: string;
134
+ include_channel_member_count?: string;
124
135
  };
125
136
  export declare type GroupMembership = {
126
137
  user_id: string;
package/lib/groups.js CHANGED
@@ -2,3 +2,14 @@
2
2
  // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
3
  // See LICENSE.txt for license information.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.GroupSource = exports.SyncableType = void 0;
6
+ var SyncableType;
7
+ (function (SyncableType) {
8
+ SyncableType["Team"] = "team";
9
+ SyncableType["Channel"] = "channel";
10
+ })(SyncableType = exports.SyncableType || (exports.SyncableType = {}));
11
+ var GroupSource;
12
+ (function (GroupSource) {
13
+ GroupSource["Ldap"] = "ldap";
14
+ GroupSource["Custom"] = "custom";
15
+ })(GroupSource = exports.GroupSource || (exports.GroupSource = {}));
@@ -0,0 +1,46 @@
1
+ import type { Address, Product, Invoice } from './cloud';
2
+ import { ValueOf } from './utilities';
3
+ export declare const SelfHostedSignupProgress: {
4
+ readonly START: "START";
5
+ readonly CREATED_CUSTOMER: "CREATED_CUSTOMER";
6
+ readonly CREATED_INTENT: "CREATED_INTENT";
7
+ readonly CONFIRMED_INTENT: "CONFIRMED_INTENT";
8
+ readonly CREATED_SUBSCRIPTION: "CREATED_SUBSCRIPTION";
9
+ readonly PAID: "PAID";
10
+ readonly CREATED_LICENSE: "CREATED_LICENSE";
11
+ };
12
+ export interface SelfHostedSignupForm {
13
+ first_name: string;
14
+ last_name: string;
15
+ billing_address: Address;
16
+ organization: string;
17
+ }
18
+ export interface SelfHostedSignupBootstrapResponse {
19
+ progress: ValueOf<typeof SelfHostedSignupProgress>;
20
+ email: string;
21
+ }
22
+ export interface SelfHostedSignupCustomerResponse {
23
+ customer_id: string;
24
+ setup_intent_id: string;
25
+ setup_intent_secret: string;
26
+ progress: ValueOf<typeof SelfHostedSignupProgress>;
27
+ }
28
+ export interface SelfHostedSignupSuccessResponse {
29
+ progress: ValueOf<typeof SelfHostedSignupProgress>;
30
+ license: Record<string, string>;
31
+ }
32
+ export declare type HostedCustomerState = {
33
+ products: {
34
+ products: Record<string, Product>;
35
+ productsLoaded: boolean;
36
+ };
37
+ invoices: {
38
+ invoices: Record<string, Invoice>;
39
+ invoicesLoaded: boolean;
40
+ };
41
+ errors: {
42
+ products?: true;
43
+ invoices?: true;
44
+ };
45
+ signupProgress: ValueOf<typeof SelfHostedSignupProgress>;
46
+ };
@@ -0,0 +1,14 @@
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.SelfHostedSignupProgress = void 0;
6
+ exports.SelfHostedSignupProgress = {
7
+ START: 'START',
8
+ CREATED_CUSTOMER: 'CREATED_CUSTOMER',
9
+ CREATED_INTENT: 'CREATED_INTENT',
10
+ CONFIRMED_INTENT: 'CONFIRMED_INTENT',
11
+ CREATED_SUBSCRIPTION: 'CREATED_SUBSCRIPTION',
12
+ PAID: 'PAID',
13
+ CREATED_LICENSE: 'CREATED_LICENSE',
14
+ };
package/lib/insights.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { ChannelType } from './channels';
2
2
  import { Post } from './posts';
3
+ import { UserProfile } from './users';
3
4
  export declare enum InsightsWidgetTypes {
4
5
  TOP_CHANNELS = "TOP_CHANNELS",
5
6
  TOP_REACTIONS = "TOP_REACTIONS",
@@ -79,7 +80,7 @@ export declare type TopBoard = {
79
80
  icon: string;
80
81
  title: string;
81
82
  activityCount: number;
82
- activeUsers: string;
83
+ activeUsers: Array<UserProfile['id']> | string;
83
84
  createdBy: string;
84
85
  };
85
86
  export declare type TopBoardResponse = {
@@ -76,6 +76,7 @@ export declare type AutocompleteSuggestion = {
76
76
  Hint: string;
77
77
  Description: string;
78
78
  IconData: string;
79
+ type?: string;
79
80
  };
80
81
  export declare type CommandAutocompleteSuggestion = AutocompleteSuggestion;
81
82
  export declare type OAuthApp = {
@@ -4,7 +4,6 @@ export declare type MarketplaceLabel = {
4
4
  name: string;
5
5
  description?: string;
6
6
  url?: string;
7
- color?: string;
8
7
  };
9
8
  export declare enum HostingType {
10
9
  OnPrem = "on-prem",
package/lib/posts.d.ts CHANGED
@@ -2,8 +2,9 @@ import { Channel, ChannelType } from './channels';
2
2
  import { CustomEmoji } from './emojis';
3
3
  import { FileInfo } from './files';
4
4
  import { Reaction } from './reactions';
5
+ import { UserProfile } from './users';
5
6
  import { RelationOneToOne, RelationOneToMany, IDMappedObjects } from './utilities';
6
- export declare type PostType = 'system_add_remove' | 'system_add_to_channel' | 'system_add_to_team' | 'system_channel_deleted' | 'system_channel_restored' | 'system_displayname_change' | 'system_convert_channel' | 'system_ephemeral' | 'system_header_change' | 'system_join_channel' | 'system_join_leave' | 'system_leave_channel' | 'system_purpose_change' | 'system_remove_from_channel' | 'system_combined_user_activity' | 'system_fake_parent_deleted' | '';
7
+ export declare type PostType = 'system_add_remove' | 'system_add_to_channel' | 'system_add_to_team' | 'system_channel_deleted' | 'system_channel_restored' | 'system_displayname_change' | 'system_convert_channel' | 'system_ephemeral' | 'system_header_change' | 'system_join_channel' | 'system_join_leave' | 'system_leave_channel' | 'system_purpose_change' | 'system_remove_from_channel' | 'system_combined_user_activity' | 'system_fake_parent_deleted' | 'system_generic' | '';
7
8
  export declare type PostEmbedType = 'image' | 'link' | 'message_attachment' | 'opengraph' | 'permalink';
8
9
  export declare type PostEmbed = {
9
10
  type: PostEmbedType;
@@ -16,12 +17,24 @@ export declare type PostImage = {
16
17
  height: number;
17
18
  width: number;
18
19
  };
20
+ export declare type PostAcknowledgement = {
21
+ post_id: Post['id'];
22
+ user_id: UserProfile['id'];
23
+ acknowledged_at: number;
24
+ };
25
+ export declare type PostPriorityMetadata = {
26
+ priority: PostPriority | '';
27
+ requested_ack?: boolean;
28
+ persistent_notifications?: boolean;
29
+ };
19
30
  export declare type PostMetadata = {
20
31
  embeds: PostEmbed[];
21
32
  emojis: CustomEmoji[];
22
33
  files: FileInfo[];
23
34
  images: Record<string, PostImage>;
24
35
  reactions: Reaction[];
36
+ priority?: PostPriorityMetadata;
37
+ acknowledgements?: PostAcknowledgement[];
25
38
  };
26
39
  export declare type Post = {
27
40
  id: string;
@@ -44,7 +57,7 @@ export declare type Post = {
44
57
  metadata: PostMetadata;
45
58
  failed?: boolean;
46
59
  user_activity_posts?: Post[];
47
- state?: 'DELETED';
60
+ state?: PostState;
48
61
  filenames?: string[];
49
62
  last_reply_at?: number;
50
63
  participants?: any;
@@ -52,6 +65,7 @@ export declare type Post = {
52
65
  is_following?: boolean;
53
66
  exists?: boolean;
54
67
  };
68
+ export declare type PostState = 'DELETED';
55
69
  export declare enum PostPriority {
56
70
  URGENT = "urgent",
57
71
  IMPORTANT = "important"
@@ -99,6 +113,7 @@ export declare type PostsState = {
99
113
  channels: Record<Channel['id'], number>;
100
114
  threads: Record<Post['root_id'], number>;
101
115
  };
116
+ acknowledgements: RelationOneToOne<Post, Record<UserProfile['id'], number>>;
102
117
  };
103
118
  export declare type OpenGraphMetadataImage = {
104
119
  secure_url?: string;
@@ -133,3 +148,12 @@ export declare type TeamsUsageResponse = {
133
148
  active: number;
134
149
  cloud_archived: number;
135
150
  };
151
+ export declare type PostAnalytics = {
152
+ channel_id: string;
153
+ post_id: string;
154
+ user_actual_id: string;
155
+ root_id: string;
156
+ priority?: PostPriority | '';
157
+ requested_ack?: boolean;
158
+ persistent_notifications?: boolean;
159
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * - `null` - explicitly Channels
3
+ * - `string` - uuid - any other product
4
+ */
5
+ export declare type ProductIdentifier = null | string;
6
+ /** @see {@link ProductIdentifier} */
7
+ export declare type ProductScope = ProductIdentifier | ProductIdentifier[];
@@ -0,0 +1,4 @@
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 });
package/lib/requests.d.ts CHANGED
@@ -9,6 +9,7 @@ export declare type ChannelsRequestsStatuses = {
9
9
  myChannels: RequestStatusType;
10
10
  createChannel: RequestStatusType;
11
11
  updateChannel: RequestStatusType;
12
+ getChannelsAndChannelMembers: RequestStatusType;
12
13
  };
13
14
  export declare type GeneralRequestsStatuses = {
14
15
  websocket: RequestStatusType;
@@ -50,12 +51,6 @@ export declare type RolesRequestsStatuses = {
50
51
  getRole: RequestStatusType;
51
52
  editRole: RequestStatusType;
52
53
  };
53
- export declare type JobsRequestsStatuses = {
54
- createJob: RequestStatusType;
55
- getJob: RequestStatusType;
56
- getJobs: RequestStatusType;
57
- cancelJob: RequestStatusType;
58
- };
59
54
  export declare type SearchRequestsStatuses = {
60
55
  flaggedPosts: RequestStatusType;
61
56
  pinnedPosts: RequestStatusType;
package/lib/store.d.ts CHANGED
@@ -3,6 +3,7 @@ import { Bot } from './bots';
3
3
  import { ChannelsState } from './channels';
4
4
  import { ChannelCategoriesState } from './channel_categories';
5
5
  import { CloudState, CloudUsage } from './cloud';
6
+ import { HostedCustomerState } from './hosted_customer';
6
7
  import { EmojisState } from './emojis';
7
8
  import { FilesState } from './files';
8
9
  import { GeneralState } from './general';
@@ -11,7 +12,7 @@ import { IntegrationsState } from './integrations';
11
12
  import { JobsState } from './jobs';
12
13
  import { PostsState } from './posts';
13
14
  import { PreferenceType } from './preferences';
14
- import { AdminRequestsStatuses, ChannelsRequestsStatuses, FilesRequestsStatuses, GeneralRequestsStatuses, JobsRequestsStatuses, PostsRequestsStatuses, RolesRequestsStatuses, TeamsRequestsStatuses, UsersRequestsStatuses } from './requests';
15
+ import { AdminRequestsStatuses, ChannelsRequestsStatuses, FilesRequestsStatuses, GeneralRequestsStatuses, PostsRequestsStatuses, RolesRequestsStatuses, TeamsRequestsStatuses, UsersRequestsStatuses } from './requests';
15
16
  import { Role } from './roles';
16
17
  import { SchemesState } from './schemes';
17
18
  import { SearchState } from './search';
@@ -22,6 +23,7 @@ import { UsersState } from './users';
22
23
  import { AppsState } from './apps';
23
24
  import { InsightsState } from './insights';
24
25
  import { GifsState } from './gifs';
26
+ import { WorkTemplatesState } from './work_templates';
25
27
  export declare type GlobalState = {
26
28
  entities: {
27
29
  general: GeneralState;
@@ -57,8 +59,10 @@ export declare type GlobalState = {
57
59
  channelCategories: ChannelCategoriesState;
58
60
  apps: AppsState;
59
61
  cloud: CloudState;
62
+ hostedCustomer: HostedCustomerState;
60
63
  usage: CloudUsage;
61
64
  insights: InsightsState;
65
+ worktemplates: WorkTemplatesState;
62
66
  };
63
67
  errors: any[];
64
68
  requests: {
@@ -70,11 +74,11 @@ export declare type GlobalState = {
70
74
  admin: AdminRequestsStatuses;
71
75
  files: FilesRequestsStatuses;
72
76
  roles: RolesRequestsStatuses;
73
- jobs: JobsRequestsStatuses;
74
77
  };
75
78
  websocket: {
76
79
  connected: boolean;
77
80
  lastConnectAt: number;
78
81
  lastDisconnectAt: number;
82
+ connectionId: string;
79
83
  };
80
84
  };
package/lib/teams.d.ts CHANGED
@@ -64,6 +64,7 @@ export declare type TeamUnread = {
64
64
  msg_count_root: number;
65
65
  thread_count?: number;
66
66
  thread_mention_count?: number;
67
+ thread_urgent_mention_count?: number;
67
68
  };
68
69
  export declare type GetTeamMembersOpts = {
69
70
  sort?: 'Username';
package/lib/threads.d.ts CHANGED
@@ -17,6 +17,7 @@ export declare type UserThread = {
17
17
  unread_replies: number;
18
18
  unread_mentions: number;
19
19
  is_following: boolean;
20
+ is_urgent?: boolean;
20
21
  type?: UserThreadType;
21
22
  /**
22
23
  * only depend on channel_id and user_id for UserThread<>Channel/User mapping,
@@ -39,6 +40,7 @@ export declare type UserThreadList = {
39
40
  total: number;
40
41
  total_unread_threads: number;
41
42
  total_unread_mentions: number;
43
+ total_unread_urgent_mentions?: number;
42
44
  threads: UserThreadWithPost[];
43
45
  };
44
46
  export declare type ThreadsState = {
@@ -49,11 +51,13 @@ export declare type ThreadsState = {
49
51
  total: number;
50
52
  total_unread_threads: number;
51
53
  total_unread_mentions: number;
54
+ total_unread_urgent_mentions?: number;
52
55
  }>;
53
56
  countsIncludingDirect: RelationOneToOne<Team, {
54
57
  total: number;
55
58
  total_unread_threads: number;
56
59
  total_unread_mentions: number;
60
+ total_unread_urgent_mentions?: number;
57
61
  }>;
58
62
  };
59
63
  export {};
package/lib/users.d.ts CHANGED
@@ -71,6 +71,7 @@ export declare type UsersState = {
71
71
  stats: RelationOneToOne<UserProfile, UsersStats>;
72
72
  filteredStats?: UsersStats;
73
73
  myUserAccessTokens: Record<string, UserAccessToken>;
74
+ lastActivity: RelationOneToOne<UserProfile, number>;
74
75
  };
75
76
  export declare type UserTimezone = {
76
77
  useAutomaticTimezone: boolean | string;
@@ -23,3 +23,10 @@ export declare type IDMappedObjects<E extends {
23
23
  export declare type DeepPartial<T> = {
24
24
  [P in keyof T]?: DeepPartial<T[P]>;
25
25
  };
26
+ export declare type ValueOf<T> = T[keyof T];
27
+ /**
28
+ * Based on https://stackoverflow.com/a/49725198
29
+ */
30
+ export declare type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & {
31
+ [K in Keys]-?: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, undefined>>;
32
+ }[Keys];
@@ -0,0 +1,64 @@
1
+ import { RequireOnlyOne } from './utilities';
2
+ export declare type WorkTemplatesState = {
3
+ categories: Category[];
4
+ templatesInCategory: Record<string, WorkTemplate[]>;
5
+ playbookTemplates: [];
6
+ };
7
+ export interface WorkTemplate {
8
+ id: string;
9
+ category: string;
10
+ useCase: string;
11
+ description: Description;
12
+ illustration: string;
13
+ visibility: Visibility;
14
+ content: ValidContent[];
15
+ }
16
+ export declare const categories: string[];
17
+ export interface Category {
18
+ id: typeof categories[number];
19
+ name: string;
20
+ }
21
+ export interface Channel {
22
+ id: string;
23
+ name: string;
24
+ illustration: string;
25
+ }
26
+ export interface Board {
27
+ id: string;
28
+ name: string;
29
+ illustration: string;
30
+ }
31
+ export interface Playbook {
32
+ id: string;
33
+ name: string;
34
+ illustration: string;
35
+ }
36
+ export interface Integration {
37
+ id: string;
38
+ name?: string;
39
+ icon?: string;
40
+ installed?: boolean;
41
+ }
42
+ interface Content {
43
+ channel?: Channel;
44
+ board?: Board;
45
+ playbook?: Playbook;
46
+ integration?: Integration;
47
+ }
48
+ declare type ValidContent = RequireOnlyOne<Content, 'channel' | 'board' | 'playbook' | 'integration'>;
49
+ export interface MessageWithIllustration {
50
+ message: string;
51
+ illustration?: string;
52
+ }
53
+ declare type MessageWithMandatoryIllustration = Partial<MessageWithIllustration> & Required<Pick<MessageWithIllustration, 'illustration'>>;
54
+ interface Description {
55
+ channel: MessageWithIllustration;
56
+ board: MessageWithIllustration;
57
+ playbook: MessageWithIllustration;
58
+ integration: MessageWithMandatoryIllustration;
59
+ }
60
+ export declare enum Visibility {
61
+ Public = "public",
62
+ Private = "private"
63
+ }
64
+ export {};
@@ -0,0 +1,11 @@
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.Visibility = exports.categories = void 0;
6
+ exports.categories = ['product', 'devops', 'company_wide', 'leadership', 'design'];
7
+ var Visibility;
8
+ (function (Visibility) {
9
+ Visibility["Public"] = "public";
10
+ Visibility["Private"] = "private";
11
+ })(Visibility = exports.Visibility || (exports.Visibility = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/types",
3
- "version": "7.4.0",
3
+ "version": "7.8.0",
4
4
  "description": "Shared type definitions used by the Mattermost web app",
5
5
  "keywords": [
6
6
  "mattermost"