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