@mattermost/types 10.11.0 → 11.1.0-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.
Files changed (58) hide show
  1. package/lib/apps.js +46 -0
  2. package/lib/content_flagging.js +8 -0
  3. package/lib/integration_actions.js +2 -8
  4. package/lib/properties.js +5 -0
  5. package/package.json +1 -1
  6. package/lib/access_control.d.ts +0 -70
  7. package/lib/admin.d.ts +0 -147
  8. package/lib/apps.d.ts +0 -187
  9. package/lib/audits.d.ts +0 -9
  10. package/lib/autocomplete.d.ts +0 -12
  11. package/lib/bots.d.ts +0 -15
  12. package/lib/channel_bookmarks.d.ts +0 -51
  13. package/lib/channel_categories.d.ts +0 -30
  14. package/lib/channels.d.ts +0 -189
  15. package/lib/client4.d.ts +0 -42
  16. package/lib/cloud.d.ts +0 -174
  17. package/lib/compliance.d.ts +0 -13
  18. package/lib/config.d.ts +0 -1054
  19. package/lib/content_flagging.d.ts +0 -2
  20. package/lib/data_retention.d.ts +0 -30
  21. package/lib/drafts.d.ts +0 -14
  22. package/lib/emojis.d.ts +0 -44
  23. package/lib/errors.d.ts +0 -8
  24. package/lib/files.d.ts +0 -41
  25. package/lib/general.d.ts +0 -16
  26. package/lib/groups.d.ts +0 -169
  27. package/lib/hosted_customer.d.ts +0 -7
  28. package/lib/integration_actions.d.ts +0 -20
  29. package/lib/integrations.d.ts +0 -177
  30. package/lib/jobs.d.ts +0 -23
  31. package/lib/limits.d.ts +0 -7
  32. package/lib/marketplace.d.ts +0 -42
  33. package/lib/message_attachments.d.ts +0 -24
  34. package/lib/mfa.d.ts +0 -4
  35. package/lib/plugins.d.ts +0 -136
  36. package/lib/posts.d.ts +0 -182
  37. package/lib/preferences.d.ts +0 -9
  38. package/lib/product_notices.d.ts +0 -26
  39. package/lib/products.d.ts +0 -8
  40. package/lib/properties.d.ts +0 -47
  41. package/lib/reactions.d.ts +0 -6
  42. package/lib/remote_clusters.d.ts +0 -35
  43. package/lib/reports.d.ts +0 -65
  44. package/lib/requests.d.ts +0 -53
  45. package/lib/roles.d.ts +0 -12
  46. package/lib/saml.d.ts +0 -10
  47. package/lib/schedule_post.d.ts +0 -27
  48. package/lib/schemes.d.ts +0 -29
  49. package/lib/search.d.ts +0 -25
  50. package/lib/sessions.d.ts +0 -15
  51. package/lib/setup.d.ts +0 -4
  52. package/lib/shared_channels.d.ts +0 -26
  53. package/lib/store.d.ts +0 -95
  54. package/lib/teams.d.ts +0 -98
  55. package/lib/terms_of_service.d.ts +0 -6
  56. package/lib/threads.d.ts +0 -63
  57. package/lib/typing.d.ts +0 -5
  58. package/lib/users.d.ts +0 -139
package/lib/config.d.ts DELETED
@@ -1,1054 +0,0 @@
1
- import type { ContentFlaggingEvent, NotificationTarget } from './content_flagging';
2
- export type ClientConfig = {
3
- AboutLink: string;
4
- AllowBannerDismissal: string;
5
- AllowCustomThemes: string;
6
- AllowSyncedDrafts: string;
7
- AllowedThemes: string;
8
- AndroidAppDownloadLink: string;
9
- AndroidLatestVersion: string;
10
- AndroidMinVersion: string;
11
- AppDownloadLink: string;
12
- AppsPluginEnabled: string;
13
- AsymmetricSigningPublicKey: string;
14
- AvailableLocales: string;
15
- BannerColor: string;
16
- BannerText: string;
17
- BannerTextColor: string;
18
- BuildDate: string;
19
- BuildEnterpriseReady: string;
20
- BuildHash: string;
21
- BuildHashEnterprise: string;
22
- BuildNumber: string;
23
- CollapsedThreads: CollapsedThreads;
24
- CustomBrandText: string;
25
- CustomDescriptionText: string;
26
- CustomTermsOfServiceId: string;
27
- CustomTermsOfServiceReAcceptancePeriod: string;
28
- CustomUrlSchemes: string;
29
- CWSURL: string;
30
- CWSMock: string;
31
- DataRetentionEnableFileDeletion: string;
32
- DataRetentionEnableMessageDeletion: string;
33
- DataRetentionFileRetentionHours: string;
34
- DataRetentionMessageRetentionHours: string;
35
- DefaultClientLocale: string;
36
- DefaultTheme: string;
37
- DiagnosticId: string;
38
- DiagnosticsEnabled: string;
39
- DisableRefetchingOnBrowserFocus: string;
40
- DisableWakeUpReconnectHandler: string;
41
- EmailLoginButtonBorderColor: string;
42
- EmailLoginButtonColor: string;
43
- EmailLoginButtonTextColor: string;
44
- EmailNotificationContentsType: string;
45
- EnableAskCommunityLink: string;
46
- EnableBanner: string;
47
- EnableBotAccountCreation: string;
48
- EnableChannelViewedMessages: string;
49
- EnableClientMetrics: string;
50
- EnableClientPerformanceDebugging: string;
51
- EnableCluster: string;
52
- EnableCommands: string;
53
- EnableCompliance: string;
54
- EnableConfirmNotificationsToChannel: string;
55
- EnableCustomBrand: string;
56
- EnableCustomEmoji: string;
57
- EnableCustomGroups: string;
58
- EnableCustomUserStatuses: string;
59
- EnableExperimentalLocales: string;
60
- EnableUserStatuses: string;
61
- EnableLastActiveTime: string;
62
- EnableTimedDND: string;
63
- EnableCrossTeamSearch: 'true' | 'false';
64
- EnableCustomTermsOfService: string;
65
- EnableDeveloper: string;
66
- EnableDiagnostics: string;
67
- EnableDesktopLandingPage: 'true' | 'false';
68
- EnableEmailBatching: string;
69
- EnableEmailInvitations: string;
70
- EnableEmojiPicker: string;
71
- EnableFileAttachments: string;
72
- EnableFile: string;
73
- EnableGifPicker: string;
74
- EnableGuestAccounts: string;
75
- EnableIncomingWebhooks: string;
76
- EnableJoinLeaveMessageByDefault: string;
77
- EnableLatex: string;
78
- EnableInlineLatex: string;
79
- EnableLdap: string;
80
- EnableLinkPreviews: string;
81
- EnableMarketplace: string;
82
- EnableMetrics: string;
83
- EnableMobileFileDownload: string;
84
- EnableMobileFileUpload: string;
85
- EnableMultifactorAuthentication: string;
86
- EnableOAuthServiceProvider: string;
87
- EnableOutgoingOAuthConnections: string;
88
- EnableOpenServer: string;
89
- EnableOutgoingWebhooks: string;
90
- EnablePostIconOverride: string;
91
- EnablePostUsernameOverride: string;
92
- EnablePreviewModeBanner: string;
93
- EnablePublicLink: string;
94
- EnableReliableWebSockets: string;
95
- EnableSaml: string;
96
- EnableSignInWithEmail: string;
97
- EnableSignInWithUsername: string;
98
- EnableSignUpWithEmail: string;
99
- EnableSignUpWithGitLab: string;
100
- EnableSignUpWithGoogle: string;
101
- EnableSignUpWithOffice365: string;
102
- EnableSignUpWithOpenId: string;
103
- EnableSVGs: string;
104
- EnableTesting: string;
105
- EnableThemeSelection: string;
106
- EnableTutorial: string;
107
- EnableOnboardingFlow: string;
108
- EnableUserAccessTokens: string;
109
- EnableUserCreation: string;
110
- EnableUserDeactivation: string;
111
- EnableUserTypingMessages: string;
112
- EnforceMultifactorAuthentication: string;
113
- ExperimentalChannelCategorySorting: string;
114
- ExperimentalClientSideCertCheck: string;
115
- ExperimentalClientSideCertEnable: string;
116
- ExperimentalEnableAuthenticationTransfer: string;
117
- ExperimentalEnableAutomaticReplies: string;
118
- ExperimentalEnableDefaultChannelLeaveJoinMessages: string;
119
- ExperimentalEnablePostMetadata: string;
120
- ExperimentalGroupUnreadChannels: string;
121
- ExperimentalPrimaryTeam: string;
122
- ExperimentalViewArchivedChannels: string;
123
- FileLevel: string;
124
- FeatureFlagAppsEnabled: string;
125
- FeatureFlagCallsEnabled: string;
126
- FeatureFlagCustomProfileAttributes: string;
127
- FeatureFlagAttributeBasedAccessControl: string;
128
- FeatureFlagWebSocketEventScope: string;
129
- ForgotPasswordLink: string;
130
- GiphySdkKey: string;
131
- GoogleDeveloperKey: string;
132
- GuestAccountsEnforceMultifactorAuthentication: string;
133
- HasImageProxy: string;
134
- HelpLink: string;
135
- HideGuestTags: string;
136
- IosAppDownloadLink: string;
137
- IosLatestVersion: string;
138
- IosMinVersion: string;
139
- InstallationDate: string;
140
- IsDefaultMarketplace: string;
141
- LdapFirstNameAttributeSet: string;
142
- LdapLastNameAttributeSet: string;
143
- LdapLoginButtonBorderColor: string;
144
- LdapLoginButtonColor: string;
145
- LdapLoginButtonTextColor: string;
146
- LdapLoginFieldName: string;
147
- LdapNicknameAttributeSet: string;
148
- LdapPositionAttributeSet: string;
149
- LdapPictureAttributeSet: string;
150
- LockTeammateNameDisplay: string;
151
- ManagedResourcePaths: string;
152
- MaxFileSize: string;
153
- MaxPostSize: string;
154
- MaxNotificationsPerChannel: string;
155
- MinimumHashtagLength: string;
156
- NoAccounts: string;
157
- GitLabButtonText: string;
158
- GitLabButtonColor: string;
159
- OpenIdButtonText: string;
160
- OpenIdButtonColor: string;
161
- PasswordEnableForgotLink: string;
162
- PasswordMinimumLength: string;
163
- PasswordRequireLowercase: string;
164
- PasswordRequireNumber: string;
165
- PasswordRequireSymbol: string;
166
- PasswordRequireUppercase: string;
167
- PluginsEnabled: string;
168
- PostEditTimeLimit: string;
169
- PrivacyPolicyLink: string;
170
- ReportAProblemLink: string;
171
- ReportAProblemType: string;
172
- ReportAProblemMail: string;
173
- AllowDownloadLogs: string;
174
- RequireEmailVerification: string;
175
- RestrictDirectMessage: string;
176
- RunJobs: string;
177
- SamlFirstNameAttributeSet: string;
178
- SamlLastNameAttributeSet: string;
179
- SamlLoginButtonBorderColor: string;
180
- SamlLoginButtonColor: string;
181
- SamlLoginButtonText: string;
182
- SamlLoginButtonTextColor: string;
183
- SamlNicknameAttributeSet: string;
184
- SamlPositionAttributeSet: string;
185
- SchemaVersion: string;
186
- SendEmailNotifications: string;
187
- SendPushNotifications: string;
188
- ShowEmailAddress: string;
189
- SiteName: string;
190
- SiteURL: string;
191
- SQLDriverName: string;
192
- SupportEmail: string;
193
- TelemetryId: string;
194
- TeammateNameDisplay: string;
195
- TermsOfServiceLink: string;
196
- TimeBetweenUserTypingUpdatesMilliseconds: string;
197
- UpgradedFromTE: string;
198
- Version: string;
199
- WebsocketPort: string;
200
- WebsocketSecurePort: string;
201
- WebsocketURL: string;
202
- ExperimentalSharedChannels: string;
203
- DisableAppBar: string;
204
- EnableComplianceExport: string;
205
- PostPriority: string;
206
- PostAcknowledgements: string;
207
- AllowPersistentNotifications: string;
208
- PersistentNotificationMaxRecipients: string;
209
- PersistentNotificationIntervalMinutes: string;
210
- AllowPersistentNotificationsForGuests: string;
211
- DelayChannelAutocomplete: 'true' | 'false';
212
- WranglerPermittedWranglerRoles: string;
213
- WranglerAllowedEmailDomain: string;
214
- WranglerMoveThreadMaxCount: string;
215
- WranglerMoveThreadFromPrivateChannelEnable: string;
216
- WranglerMoveThreadFromDirectMessageChannelEnable: string;
217
- WranglerMoveThreadFromGroupMessageChannelEnable: string;
218
- ServiceEnvironment: string;
219
- UniqueEmojiReactionLimitPerPost: string;
220
- UsersStatusAndProfileFetchingPollIntervalMilliseconds: string;
221
- YoutubeReferrerPolicy: 'true' | 'false';
222
- ScheduledPosts: string;
223
- DeleteAccountLink: string;
224
- };
225
- export type License = {
226
- id: string;
227
- issued_at: number;
228
- starts_at: number;
229
- expires_at: string;
230
- customer: LicenseCustomer;
231
- features: LicenseFeatures;
232
- sku_name: string;
233
- short_sku_name: string;
234
- };
235
- export type LicenseCustomer = {
236
- id: string;
237
- name: string;
238
- email: string;
239
- company: string;
240
- };
241
- export type LicenseFeatures = {
242
- users?: number;
243
- ldap?: boolean;
244
- ldap_groups?: boolean;
245
- mfa?: boolean;
246
- google_oauth?: boolean;
247
- office365_oauth?: boolean;
248
- compliance?: boolean;
249
- cluster?: boolean;
250
- metrics?: boolean;
251
- mhpns?: boolean;
252
- saml?: boolean;
253
- elastic_search?: boolean;
254
- announcement?: boolean;
255
- theme_management?: boolean;
256
- email_notification_contents?: boolean;
257
- data_retention?: boolean;
258
- message_export?: boolean;
259
- custom_permissions_schemes?: boolean;
260
- custom_terms_of_service?: boolean;
261
- guest_accounts?: boolean;
262
- guest_accounts_permissions?: boolean;
263
- id_loaded?: boolean;
264
- lock_teammate_name_display?: boolean;
265
- cloud?: boolean;
266
- future_features?: boolean;
267
- };
268
- export type ClientLicense = Record<string, string>;
269
- export type RequestLicenseBody = {
270
- users: number;
271
- terms_accepted: boolean;
272
- receive_emails_accepted: boolean;
273
- contact_name: string;
274
- contact_email: string;
275
- company_name: string;
276
- company_size: string;
277
- company_country: string;
278
- };
279
- export type DataRetentionPolicy = {
280
- message_deletion_enabled: boolean;
281
- file_deletion_enabled: boolean;
282
- message_retention_cutoff: number;
283
- file_retention_cutoff: number;
284
- boards_retention_cutoff: number;
285
- boards_deletion_enabled: boolean;
286
- };
287
- export type ServiceSettings = {
288
- SiteURL: string;
289
- WebsocketURL: string;
290
- LicenseFileLocation: string;
291
- ListenAddress: string;
292
- ConnectionSecurity: string;
293
- TLSCertFile: string;
294
- TLSKeyFile: string;
295
- TLSMinVer: string;
296
- TLSStrictTransport: boolean;
297
- TLSStrictTransportMaxAge: number;
298
- TLSOverwriteCiphers: string[];
299
- UseLetsEncrypt: boolean;
300
- LetsEncryptCertificateCacheFile: string;
301
- Forward80To443: boolean;
302
- TrustedProxyIPHeader: string[];
303
- ReadTimeout: number;
304
- WriteTimeout: number;
305
- IdleTimeout: number;
306
- MaximumLoginAttempts: number;
307
- GoroutineHealthThreshold: number;
308
- GoogleDeveloperKey: string;
309
- EnableOAuthServiceProvider: boolean;
310
- EnableIncomingWebhooks: boolean;
311
- EnableOutgoingWebhooks: boolean;
312
- EnableOutgoingOAuthConnections: boolean;
313
- EnableCommands: boolean;
314
- OutgoingIntegrationRequestsTimeout: number;
315
- EnablePostUsernameOverride: boolean;
316
- EnablePostIconOverride: boolean;
317
- EnableLinkPreviews: boolean;
318
- EnablePermalinkPreviews: boolean;
319
- RestrictLinkPreviews: string;
320
- EnableTesting: boolean;
321
- EnableDeveloper: boolean;
322
- DeveloperFlags: string;
323
- EnableClientPerformanceDebugging: boolean;
324
- EnableSecurityFixAlert: boolean;
325
- EnableInsecureOutgoingConnections: boolean;
326
- AllowedUntrustedInternalConnections: string;
327
- EnableMultifactorAuthentication: boolean;
328
- EnforceMultifactorAuthentication: boolean;
329
- EnableUserAccessTokens: boolean;
330
- AllowCorsFrom: string;
331
- CorsExposedHeaders: string;
332
- CorsAllowCredentials: boolean;
333
- CorsDebug: boolean;
334
- AllowCookiesForSubdomains: boolean;
335
- ExtendSessionLengthWithActivity: boolean;
336
- TerminateSessionsOnPasswordChange: boolean;
337
- SessionLengthWebInDays: number;
338
- SessionLengthWebInHours: number;
339
- SessionLengthMobileInDays: number;
340
- SessionLengthMobileInHours: number;
341
- SessionLengthSSOInDays: number;
342
- SessionLengthSSOInHours: number;
343
- SessionCacheInMinutes: number;
344
- SessionIdleTimeoutInMinutes: number;
345
- WebsocketSecurePort: number;
346
- WebsocketPort: number;
347
- WebserverMode: string;
348
- EnableCustomEmoji: boolean;
349
- EnableEmojiPicker: boolean;
350
- EnableGifPicker: boolean;
351
- GiphySdkKey: string;
352
- PostEditTimeLimit: number;
353
- TimeBetweenUserTypingUpdatesMilliseconds: number;
354
- EnableCrossTeamSearch: boolean;
355
- EnablePostSearch: boolean;
356
- EnableFileSearch: boolean;
357
- MinimumHashtagLength: number;
358
- EnableUserTypingMessages: boolean;
359
- EnableChannelViewedMessages: boolean;
360
- EnableUserStatuses: boolean;
361
- ExperimentalEnableAuthenticationTransfer: boolean;
362
- ClusterLogTimeoutMilliseconds: number;
363
- EnableTutorial: boolean;
364
- EnableOnboardingFlow: boolean;
365
- ExperimentalEnableDefaultChannelLeaveJoinMessages: boolean;
366
- ExperimentalGroupUnreadChannels: string;
367
- EnableAPITeamDeletion: boolean;
368
- EnableAPITriggerAdminNotifications: boolean;
369
- EnableAPIUserDeletion: boolean;
370
- ExperimentalEnableHardenedMode: boolean;
371
- ExperimentalStrictCSRFEnforcement: boolean;
372
- EnableEmailInvitations: boolean;
373
- DisableBotsWhenOwnerIsDeactivated: boolean;
374
- EnableBotAccountCreation: boolean;
375
- EnableSVGs: boolean;
376
- EnableLatex: boolean;
377
- EnableInlineLatex: boolean;
378
- EnableLocalMode: boolean;
379
- LocalModeSocketLocation: string;
380
- CollapsedThreads: CollapsedThreads;
381
- ThreadAutoFollow: boolean;
382
- PostPriority: boolean;
383
- EnableAPIChannelDeletion: boolean;
384
- EnableAWSMetering: boolean;
385
- SplitKey: string;
386
- FeatureFlagSyncIntervalSeconds: number;
387
- DebugSplit: boolean;
388
- ManagedResourcePaths: string;
389
- EnableCustomGroups: boolean;
390
- AllowSyncedDrafts: boolean;
391
- AllowPersistentNotifications: boolean;
392
- AllowPersistentNotificationsForGuests: boolean;
393
- PersistentNotificationIntervalMinutes: number;
394
- PersistentNotificationMaxCount: number;
395
- PersistentNotificationMaxRecipients: number;
396
- UniqueEmojiReactionLimitPerPost: number;
397
- RefreshPostStatsRunTime: string;
398
- MaximumPayloadSizeBytes: number;
399
- EnableAPIPostDeletion: boolean;
400
- EnableDesktopLandingPage: boolean;
401
- MaximumURLLength: number;
402
- ScheduledPosts: boolean;
403
- EnableWebHubChannelIteration: boolean;
404
- FrameAncestors: string;
405
- DeleteAccountLink: string;
406
- };
407
- export type TeamSettings = {
408
- SiteName: string;
409
- MaxUsersPerTeam: number;
410
- EnableCustomUserStatuses: boolean;
411
- EnableUserCreation: boolean;
412
- EnableOpenServer: boolean;
413
- EnableUserDeactivation: boolean;
414
- RestrictCreationToDomains: string;
415
- EnableCustomBrand: boolean;
416
- CustomBrandText: string;
417
- CustomDescriptionText: string;
418
- RestrictDirectMessage: string;
419
- UserStatusAwayTimeout: number;
420
- MaxChannelsPerTeam: number;
421
- MaxNotificationsPerChannel: number;
422
- EnableConfirmNotificationsToChannel: boolean;
423
- TeammateNameDisplay: string;
424
- ExperimentalViewArchivedChannels: boolean;
425
- ExperimentalEnableAutomaticReplies: boolean;
426
- LockTeammateNameDisplay: boolean;
427
- ExperimentalPrimaryTeam: string;
428
- ExperimentalDefaultChannels: string[];
429
- EnableLastActiveTime: boolean;
430
- EnableJoinLeaveMessageByDefault: boolean;
431
- };
432
- export type ClientRequirements = {
433
- AndroidLatestVersion: string;
434
- AndroidMinVersion: string;
435
- IosLatestVersion: string;
436
- IosMinVersion: string;
437
- };
438
- export type SqlSettings = {
439
- DriverName: string;
440
- DataSource: string;
441
- DataSourceReplicas: string[];
442
- DataSourceSearchReplicas: string[];
443
- MaxIdleConns: number;
444
- ConnMaxLifetimeMilliseconds: number;
445
- ConnMaxIdleTimeMilliseconds: number;
446
- MaxOpenConns: number;
447
- Trace: boolean;
448
- AtRestEncryptKey: string;
449
- QueryTimeout: number;
450
- DisableDatabaseSearch: boolean;
451
- MigrationsStatementTimeoutSeconds: number;
452
- ReplicaLagSettings: ReplicaLagSetting[];
453
- ReplicaMonitorIntervalSeconds: number;
454
- };
455
- export type LogSettings = {
456
- EnableConsole: boolean;
457
- ConsoleLevel: string;
458
- ConsoleJson: boolean;
459
- EnableColor: boolean;
460
- EnableFile: boolean;
461
- FileLevel: string;
462
- FileJson: boolean;
463
- FileLocation: string;
464
- EnableWebhookDebugging: boolean;
465
- EnableDiagnostics: boolean;
466
- VerboseDiagnostics: boolean;
467
- EnableSentry: boolean;
468
- AdvancedLoggingJSON: Record<string, any>;
469
- MaxFieldSize: number;
470
- };
471
- export type ExperimentalAuditSettings = {
472
- FileEnabled: boolean;
473
- FileName: string;
474
- FileMaxSizeMB: number;
475
- FileMaxAgeDays: number;
476
- FileMaxBackups: number;
477
- FileCompress: boolean;
478
- FileMaxQueueSize: number;
479
- AdvancedLoggingJSON: Record<string, any>;
480
- Certificate: string;
481
- };
482
- export type NotificationLogSettings = {
483
- EnableConsole: boolean;
484
- ConsoleLevel: string;
485
- ConsoleJson: boolean;
486
- EnableColor: boolean;
487
- EnableFile: boolean;
488
- FileLevel: string;
489
- FileJson: boolean;
490
- FileLocation: string;
491
- AdvancedLoggingJSON: Record<string, any>;
492
- };
493
- export type PasswordSettings = {
494
- MinimumLength: number;
495
- Lowercase: boolean;
496
- Number: boolean;
497
- Uppercase: boolean;
498
- Symbol: boolean;
499
- EnableForgotLink: boolean;
500
- };
501
- export type WranglerSettings = {
502
- PermittedWranglerRoles: string[];
503
- AllowedEmailDomain: string[];
504
- MoveThreadMaxCount: number;
505
- MoveThreadToAnotherTeamEnable: boolean;
506
- MoveThreadFromPrivateChannelEnable: boolean;
507
- MoveThreadFromDirectMessageChannelEnable: boolean;
508
- MoveThreadFromGroupMessageChannelEnable: boolean;
509
- };
510
- export type ConnectedWorkspacesSettings = {
511
- EnableSharedChannels: boolean;
512
- EnableRemoteClusterService: boolean;
513
- DisableSharedChannelsStatusSync: boolean;
514
- SyncUsersOnConnectionOpen: boolean;
515
- GlobalUserSyncBatchSize: number;
516
- MaxPostsPerSync: number;
517
- MemberSyncBatchSize: number;
518
- };
519
- export type FileSettings = {
520
- EnableFileAttachments: boolean;
521
- EnableMobileUpload: boolean;
522
- EnableMobileDownload: boolean;
523
- MaxFileSize: number;
524
- MaxImageResolution: number;
525
- MaxImageDecoderConcurrency: number;
526
- DriverName: string;
527
- Directory: string;
528
- EnablePublicLink: boolean;
529
- ExtractContent: boolean;
530
- ArchiveRecursion: boolean;
531
- PublicLinkSalt: string;
532
- InitialFont: string;
533
- AmazonS3AccessKeyId: string;
534
- AmazonS3SecretAccessKey: string;
535
- AmazonS3Bucket: string;
536
- AmazonS3PathPrefix: string;
537
- AmazonS3Region: string;
538
- AmazonS3Endpoint: string;
539
- AmazonS3SSL: boolean;
540
- AmazonS3SignV2: boolean;
541
- AmazonS3SSE: boolean;
542
- AmazonS3Trace: boolean;
543
- AmazonS3RequestTimeoutMilliseconds: number;
544
- AmazonS3UploadPartSizeBytes: number;
545
- AmazonS3StorageClass: string;
546
- DedicatedExportStore: boolean;
547
- ExportDriverName: string;
548
- ExportDirectory: string;
549
- ExportAmazonS3AccessKeyId: string;
550
- ExportAmazonS3SecretAccessKey: string;
551
- ExportAmazonS3Bucket: string;
552
- ExportAmazonS3PathPrefix: string;
553
- ExportAmazonS3Region: string;
554
- ExportAmazonS3Endpoint: string;
555
- ExportAmazonS3SSL: boolean;
556
- ExportAmazonS3SignV2: boolean;
557
- ExportAmazonS3SSE: boolean;
558
- ExportAmazonS3Trace: boolean;
559
- ExportAmazonS3RequestTimeoutMilliseconds: number;
560
- ExportAmazonS3PresignExpiresSeconds: number;
561
- ExportAmazonS3UploadPartSizeBytes: number;
562
- ExportAmazonS3StorageClass: string;
563
- };
564
- export type EmailSettings = {
565
- EnableSignUpWithEmail: boolean;
566
- EnableSignInWithEmail: boolean;
567
- EnableSignInWithUsername: boolean;
568
- SendEmailNotifications: boolean;
569
- UseChannelInEmailNotifications: boolean;
570
- RequireEmailVerification: boolean;
571
- FeedbackName: string;
572
- FeedbackEmail: string;
573
- ReplyToAddress: string;
574
- FeedbackOrganization: string;
575
- EnableSMTPAuth: boolean;
576
- SMTPUsername: string;
577
- SMTPPassword: string;
578
- SMTPServer: string;
579
- SMTPPort: string;
580
- SMTPServerTimeout: number;
581
- ConnectionSecurity: string;
582
- SendPushNotifications: boolean;
583
- PushNotificationServer: string;
584
- PushNotificationServerType: 'off' | 'mhpns' | 'mtpns' | 'custom';
585
- PushNotificationServerLocation: 'us' | 'de';
586
- PushNotificationContents: string;
587
- PushNotificationBuffer: number;
588
- EnableEmailBatching: boolean;
589
- EmailBatchingBufferSize: number;
590
- EmailBatchingInterval: number;
591
- EnablePreviewModeBanner: boolean;
592
- SkipServerCertificateVerification: boolean;
593
- EmailNotificationContentsType: string;
594
- LoginButtonColor: string;
595
- LoginButtonBorderColor: string;
596
- LoginButtonTextColor: string;
597
- };
598
- export type RateLimitSettings = {
599
- Enable: boolean;
600
- PerSec: number;
601
- MaxBurst: number;
602
- MemoryStoreSize: number;
603
- VaryByRemoteAddr: boolean;
604
- VaryByUser: boolean;
605
- VaryByHeader: string;
606
- };
607
- export type PrivacySettings = {
608
- ShowEmailAddress: boolean;
609
- ShowFullName: boolean;
610
- };
611
- export type SupportSettings = {
612
- TermsOfServiceLink: string;
613
- PrivacyPolicyLink: string;
614
- AboutLink: string;
615
- HelpLink: string;
616
- ReportAProblemLink: string;
617
- ReportAProblemType: string;
618
- ReportAProblemMail: string;
619
- AllowDownloadLogs: boolean;
620
- ForgotPasswordLink: string;
621
- SupportEmail: string;
622
- CustomTermsOfServiceEnabled: boolean;
623
- CustomTermsOfServiceReAcceptancePeriod: number;
624
- EnableAskCommunityLink: boolean;
625
- };
626
- export type AnnouncementSettings = {
627
- EnableBanner: boolean;
628
- BannerText: string;
629
- BannerColor: string;
630
- BannerTextColor: string;
631
- AllowBannerDismissal: boolean;
632
- AdminNoticesEnabled: boolean;
633
- UserNoticesEnabled: boolean;
634
- NoticesURL: string;
635
- NoticesFetchFrequency: number;
636
- NoticesSkipCache: boolean;
637
- };
638
- export type ThemeSettings = {
639
- EnableThemeSelection: boolean;
640
- DefaultTheme: string;
641
- AllowCustomThemes: boolean;
642
- AllowedThemes: string[];
643
- };
644
- export type SSOSettings = {
645
- Enable: boolean;
646
- Secret: string;
647
- Id: string;
648
- Scope: string;
649
- AuthEndpoint: string;
650
- TokenEndpoint: string;
651
- UserAPIEndpoint: string;
652
- DiscoveryEndpoint: string;
653
- ButtonText: string;
654
- ButtonColor: string;
655
- };
656
- export type Office365Settings = {
657
- Enable: boolean;
658
- Secret: string;
659
- Id: string;
660
- Scope: string;
661
- AuthEndpoint: string;
662
- TokenEndpoint: string;
663
- UserAPIEndpoint: string;
664
- DiscoveryEndpoint: string;
665
- DirectoryId: string;
666
- };
667
- export type LdapSettings = {
668
- Enable: boolean;
669
- EnableSync: boolean;
670
- LdapServer: string;
671
- LdapPort: number;
672
- ConnectionSecurity: string;
673
- BaseDN: string;
674
- BindUsername: string;
675
- BindPassword: string;
676
- UserFilter: string;
677
- GroupFilter: string;
678
- GuestFilter: string;
679
- EnableAdminFilter: boolean;
680
- AdminFilter: string;
681
- GroupDisplayNameAttribute: string;
682
- GroupIdAttribute: string;
683
- FirstNameAttribute: string;
684
- LastNameAttribute: string;
685
- EmailAttribute: string;
686
- UsernameAttribute: string;
687
- NicknameAttribute: string;
688
- IdAttribute: string;
689
- PositionAttribute: string;
690
- LoginIdAttribute: string;
691
- PictureAttribute: string;
692
- SyncIntervalMinutes: number;
693
- ReAddRemovedMembers: boolean;
694
- SkipCertificateVerification: boolean;
695
- PublicCertificateFile: string;
696
- PrivateKeyFile: string;
697
- QueryTimeout: number;
698
- MaxPageSize: number;
699
- LoginFieldName: string;
700
- LoginButtonColor: string;
701
- LoginButtonBorderColor: string;
702
- LoginButtonTextColor: string;
703
- MaximumLoginAttempts: number;
704
- };
705
- export type ComplianceSettings = {
706
- Enable: boolean;
707
- Directory: string;
708
- EnableDaily: boolean;
709
- BatchSize: number;
710
- };
711
- export type LocalizationSettings = {
712
- DefaultServerLocale: string;
713
- DefaultClientLocale: string;
714
- AvailableLocales: string;
715
- EnableExperimentalLocales: boolean;
716
- };
717
- export type SamlSettings = {
718
- Enable: boolean;
719
- EnableSyncWithLdap: boolean;
720
- EnableSyncWithLdapIncludeAuth: boolean;
721
- IgnoreGuestsLdapSync: boolean;
722
- Verify: boolean;
723
- Encrypt: boolean;
724
- SignRequest: boolean;
725
- IdpURL: string;
726
- IdpDescriptorURL: string;
727
- IdpMetadataURL: string;
728
- ServiceProviderIdentifier: string;
729
- AssertionConsumerServiceURL: string;
730
- SignatureAlgorithm: string;
731
- CanonicalAlgorithm: string;
732
- ScopingIDPProviderId: string;
733
- ScopingIDPName: string;
734
- IdpCertificateFile: string;
735
- PublicCertificateFile: string;
736
- PrivateKeyFile: string;
737
- IdAttribute: string;
738
- GuestAttribute: string;
739
- EnableAdminAttribute: boolean;
740
- AdminAttribute: string;
741
- FirstNameAttribute: string;
742
- LastNameAttribute: string;
743
- EmailAttribute: string;
744
- UsernameAttribute: string;
745
- NicknameAttribute: string;
746
- LocaleAttribute: string;
747
- PositionAttribute: string;
748
- LoginButtonText: string;
749
- LoginButtonColor: string;
750
- LoginButtonBorderColor: string;
751
- LoginButtonTextColor: string;
752
- };
753
- export type NativeAppSettings = {
754
- AppCustomURLSchemes: string[];
755
- AppDownloadLink: string;
756
- AndroidAppDownloadLink: string;
757
- IosAppDownloadLink: string;
758
- MobileExternalBrowser: boolean;
759
- MobileEnableBiometrics: boolean;
760
- MobilePreventScreenCapture: boolean;
761
- MobileJailbreakProtection: boolean;
762
- MobileEnableSecureFilePreview: boolean;
763
- MobileAllowPdfLinkNavigation: boolean;
764
- };
765
- export type ClusterSettings = {
766
- Enable: boolean;
767
- ClusterName: string;
768
- OverrideHostname: string;
769
- NetworkInterface: string;
770
- BindAddress: string;
771
- AdvertiseAddress: string;
772
- UseIPAddress: boolean;
773
- EnableGossipCompression: boolean;
774
- EnableGossipEncryption: boolean;
775
- ReadOnlyConfig: boolean;
776
- GossipPort: number;
777
- };
778
- export type MetricsSettings = {
779
- Enable: boolean;
780
- BlockProfileRate: number;
781
- ListenAddress: string;
782
- EnableClientMetrics: boolean;
783
- EnableNotificationMetrics: boolean;
784
- ClientSideUserIds: string[];
785
- };
786
- export type ExperimentalSettings = {
787
- ClientSideCertEnable: boolean;
788
- ClientSideCertCheck: string;
789
- LinkMetadataTimeoutMilliseconds: number;
790
- RestrictSystemAdmin: boolean;
791
- EnableSharedChannels: boolean;
792
- EnableRemoteClusterService: boolean;
793
- DisableAppBar: boolean;
794
- DisableRefetchingOnBrowserFocus: boolean;
795
- DelayChannelAutocomplete: boolean;
796
- DisableWakeUpReconnectHandler: boolean;
797
- UsersStatusAndProfileFetchingPollIntervalMilliseconds: number;
798
- YoutubeReferrerPolicy: boolean;
799
- ExperimentalChannelCategorySorting: boolean;
800
- };
801
- export type AnalyticsSettings = {
802
- MaxUsersForStatistics: number;
803
- };
804
- export type CacheSettings = {
805
- CacheType: string;
806
- RedisAddress: string;
807
- RedisPassword: string;
808
- RedisDB: number;
809
- RedisCachePrefix: string;
810
- DisableClientCache: boolean;
811
- };
812
- export type ElasticsearchSettings = {
813
- ConnectionURL: string;
814
- Backend: string;
815
- Username: string;
816
- Password: string;
817
- EnableIndexing: boolean;
818
- EnableSearching: boolean;
819
- EnableAutocomplete: boolean;
820
- Sniff: boolean;
821
- PostIndexReplicas: number;
822
- PostIndexShards: number;
823
- ChannelIndexReplicas: number;
824
- ChannelIndexShards: number;
825
- UserIndexReplicas: number;
826
- UserIndexShards: number;
827
- AggregatePostsAfterDays: number;
828
- PostsAggregatorJobStartTime: string;
829
- IndexPrefix: string;
830
- GlobalSearchPrefix: string;
831
- LiveIndexingBatchSize: number;
832
- BatchSize: number;
833
- RequestTimeoutSeconds: number;
834
- SkipTLSVerification: boolean;
835
- CA: string;
836
- ClientCert: string;
837
- ClientKey: string;
838
- Trace: string;
839
- IgnoredPurgeIndexes: string;
840
- };
841
- export type BleveSettings = {
842
- IndexDir: string;
843
- EnableIndexing: boolean;
844
- EnableSearching: boolean;
845
- EnableAutocomplete: boolean;
846
- BatchSize: number;
847
- };
848
- export type DataRetentionSettings = {
849
- EnableMessageDeletion: boolean;
850
- EnableFileDeletion: boolean;
851
- MessageRetentionDays: number;
852
- MessageRetentionHours: number;
853
- FileRetentionDays: number;
854
- FileRetentionHours: number;
855
- DeletionJobStartTime: string;
856
- BatchSize: number;
857
- EnableBoardsDeletion: boolean;
858
- BoardsRetentionDays: number;
859
- TimeBetweenBatchesMilliseconds: number;
860
- RetentionIdsBatchSize: number;
861
- PreservePinnedPosts: boolean;
862
- };
863
- export type MessageExportSettings = {
864
- EnableExport: boolean;
865
- DownloadExportResults: boolean;
866
- ExportFormat: string;
867
- DailyRunTime: string;
868
- ExportFromTimestamp: number;
869
- BatchSize: number;
870
- ChannelBatchSize: number;
871
- ChannelHistoryBatchSize: number;
872
- GlobalRelaySettings: {
873
- CustomerType: string;
874
- SMTPUsername: string;
875
- SMTPPassword: string;
876
- EmailAddress: string;
877
- SMTPServerTimeout: number;
878
- CustomSMTPServerName: string;
879
- CustomSMTPPort: string;
880
- };
881
- };
882
- export type JobSettings = {
883
- RunJobs: boolean;
884
- RunScheduler: boolean;
885
- CleanupJobsThresholdDays: number;
886
- CleanupConfigThresholdDays: number;
887
- };
888
- export type PluginSettings = {
889
- Enable: boolean;
890
- EnableUploads: boolean;
891
- AllowInsecureDownloadURL: boolean;
892
- EnableHealthCheck: boolean;
893
- Directory: string;
894
- ClientDirectory: string;
895
- Plugins: Record<string, any>;
896
- PluginStates: Record<string, {
897
- Enable: boolean;
898
- }>;
899
- EnableMarketplace: boolean;
900
- EnableRemoteMarketplace: boolean;
901
- AutomaticPrepackagedPlugins: boolean;
902
- RequirePluginSignature: boolean;
903
- MarketplaceURL: string;
904
- SignaturePublicKeyFiles: string[];
905
- ChimeraOAuthProxyURL: string;
906
- };
907
- export type DisplaySettings = {
908
- CustomURLSchemes: string[];
909
- MaxMarkdownNodes: number;
910
- };
911
- export type GuestAccountsSettings = {
912
- Enable: boolean;
913
- HideTags: boolean;
914
- AllowEmailAccounts: boolean;
915
- EnforceMultifactorAuthentication: boolean;
916
- RestrictCreationToDomains: string;
917
- };
918
- export type ImageProxySettings = {
919
- Enable: boolean;
920
- ImageProxyType: string;
921
- RemoteImageProxyURL: string;
922
- RemoteImageProxyOptions: string;
923
- };
924
- export type CloudSettings = {
925
- CWSURL: string;
926
- CWSAPIURL: string;
927
- CWSMock: boolean;
928
- Disable: boolean;
929
- };
930
- export type FeatureFlags = Record<string, string | boolean>;
931
- export type ImportSettings = {
932
- Directory: string;
933
- RetentionDays: number;
934
- };
935
- export type ExportSettings = {
936
- Directory: string;
937
- RetentionDays: number;
938
- };
939
- export type AccessControlSettings = {
940
- EnableAttributeBasedAccessControl: boolean;
941
- EnableChannelScopeAccessControl: boolean;
942
- EnableUserManagedAttributes: boolean;
943
- };
944
- export type ContentFlaggingNotificationSettings = {
945
- ReviewerSettings: ContentFlaggingReviewerSetting;
946
- EventTargetMapping: Record<ContentFlaggingEvent, NotificationTarget[]>;
947
- AdditionalSettings: ContentFlaggingAdditionalSettings;
948
- };
949
- export type TeamReviewerSetting = {
950
- Enabled: boolean;
951
- ReviewerIds: string[];
952
- };
953
- export type ContentFlaggingReviewerSetting = {
954
- CommonReviewers: boolean;
955
- CommonReviewerIds: string[];
956
- TeamReviewersSetting: Record<string, TeamReviewerSetting>;
957
- SystemAdminsAsReviewers: boolean;
958
- TeamAdminsAsReviewers: boolean;
959
- };
960
- export type ContentFlaggingAdditionalSettings = {
961
- Reasons: string[];
962
- ReporterCommentRequired: boolean;
963
- ReviewerCommentRequired: boolean;
964
- HideFlaggedContent: boolean;
965
- };
966
- export type ContentFlaggingSettings = {
967
- NotificationSettings: ContentFlaggingNotificationSettings;
968
- };
969
- export type AdminConfig = {
970
- ServiceSettings: ServiceSettings;
971
- TeamSettings: TeamSettings;
972
- ClientRequirements: ClientRequirements;
973
- SqlSettings: SqlSettings;
974
- LogSettings: LogSettings;
975
- ExperimentalAuditSettings: ExperimentalAuditSettings;
976
- NotificationLogSettings: NotificationLogSettings;
977
- PasswordSettings: PasswordSettings;
978
- FileSettings: FileSettings;
979
- EmailSettings: EmailSettings;
980
- RateLimitSettings: RateLimitSettings;
981
- PrivacySettings: PrivacySettings;
982
- SupportSettings: SupportSettings;
983
- AnnouncementSettings: AnnouncementSettings;
984
- ThemeSettings: ThemeSettings;
985
- GitLabSettings: SSOSettings;
986
- GoogleSettings: SSOSettings;
987
- Office365Settings: Office365Settings;
988
- OpenIdSettings: SSOSettings;
989
- LdapSettings: LdapSettings;
990
- ComplianceSettings: ComplianceSettings;
991
- LocalizationSettings: LocalizationSettings;
992
- SamlSettings: SamlSettings;
993
- NativeAppSettings: NativeAppSettings;
994
- ClusterSettings: ClusterSettings;
995
- MetricsSettings: MetricsSettings;
996
- ExperimentalSettings: ExperimentalSettings;
997
- AnalyticsSettings: AnalyticsSettings;
998
- CacheSettings: CacheSettings;
999
- ElasticsearchSettings: ElasticsearchSettings;
1000
- BleveSettings: BleveSettings;
1001
- DataRetentionSettings: DataRetentionSettings;
1002
- MessageExportSettings: MessageExportSettings;
1003
- JobSettings: JobSettings;
1004
- PluginSettings: PluginSettings;
1005
- DisplaySettings: DisplaySettings;
1006
- GuestAccountsSettings: GuestAccountsSettings;
1007
- ImageProxySettings: ImageProxySettings;
1008
- CloudSettings: CloudSettings;
1009
- FeatureFlags: FeatureFlags;
1010
- ImportSettings: ImportSettings;
1011
- ExportSettings: ExportSettings;
1012
- WranglerSettings: WranglerSettings;
1013
- ConnectedWorkspacesSettings: ConnectedWorkspacesSettings;
1014
- AccessControlSettings: AccessControlSettings;
1015
- ContentFlaggingSettings: ContentFlaggingSettings;
1016
- };
1017
- export type ReplicaLagSetting = {
1018
- DataSource: string;
1019
- QueryAbsoluteLag: string;
1020
- QueryTimeLag: string;
1021
- };
1022
- export type EnvironmentConfigSettings<T> = {
1023
- [P in keyof T]: boolean;
1024
- };
1025
- export type EnvironmentConfig = {
1026
- [P in keyof AdminConfig]: EnvironmentConfigSettings<AdminConfig[P]>;
1027
- };
1028
- export type WarnMetricStatus = {
1029
- id: string;
1030
- limit: number;
1031
- acked: boolean;
1032
- store_status: string;
1033
- };
1034
- export declare enum CollapsedThreads {
1035
- DISABLED = "disabled",
1036
- DEFAULT_ON = "default_on",
1037
- DEFAULT_OFF = "default_off",
1038
- ALWAYS_ON = "always_on"
1039
- }
1040
- export declare enum ServiceEnvironment {
1041
- PRODUCTION = "production",
1042
- TEST = "test",
1043
- DEV = "dev"
1044
- }
1045
- export type AllowedIPRange = {
1046
- cidr_block: string;
1047
- description: string;
1048
- enabled: boolean;
1049
- owner_id: string;
1050
- };
1051
- export type AllowedIPRanges = AllowedIPRange[];
1052
- export type FetchIPResponse = {
1053
- ip: string;
1054
- };