slack-ruby-client 3.1.0 → 3.3.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.
- checksums.yaml +4 -4
- data/.github/prompts/changelog-entries.prompt.yml +32 -0
- data/.github/workflows/danger-comment.yml +11 -0
- data/.github/workflows/danger.yml +13 -0
- data/.github/workflows/lint.yml +3 -1
- data/.github/workflows/test.yml +1 -1
- data/.github/workflows/update_api.yml +94 -16
- data/.rubocop.yml +2 -1
- data/.rubocop_todo.yml +18 -4
- data/AGENTS.md +12 -0
- data/CHANGELOG.md +43 -1
- data/CONTRIBUTING.md +10 -1
- data/Dangerfile +4 -1
- data/Gemfile +20 -5
- data/README.md +47 -2
- data/RELEASING.md +2 -2
- data/Rakefile +7 -3
- data/UPGRADING.md +16 -0
- data/bin/commands/admin_analytics_messages.rb +36 -0
- data/bin/commands/admin_apps.rb +3 -0
- data/bin/commands/admin_apps_mcp_servers.rb +21 -0
- data/bin/commands/admin_apps_mcp_servers_permissions.rb +33 -0
- data/bin/commands/admin_apps_permissions.rb +58 -0
- data/bin/commands/admin_conversations.rb +20 -0
- data/bin/commands/admin_functions.rb +1 -1
- data/bin/commands/admin_functions_permissions.rb +1 -0
- data/bin/commands/admin_usergroups.rb +74 -0
- data/bin/commands/admin_users.rb +10 -8
- data/bin/commands/admin_users_session.rb +0 -1
- data/bin/commands/admin_workflows_triggers_types_permissions.rb +4 -3
- data/bin/commands/agents_sessions.rb +38 -0
- data/bin/commands/apps_icon.rb +22 -0
- data/bin/commands/apps_managed_permissions.rb +21 -0
- data/bin/commands/apps_manifest.rb +7 -6
- data/bin/commands/apps_user_connection.rb +21 -0
- data/bin/commands/assistant_search.rb +3 -2
- data/bin/commands/assistant_threads.rb +6 -3
- data/bin/commands/blocks.rb +22 -0
- data/bin/commands/bookmarks.rb +6 -6
- data/bin/commands/canvases.rb +12 -2
- data/bin/commands/chat.rb +17 -7
- data/bin/commands/conversations.rb +2 -2
- data/bin/commands/conversations_canvases.rb +1 -1
- data/bin/commands/entity.rb +27 -0
- data/bin/commands/files.rb +5 -2
- data/bin/commands/oauth_v2.rb +22 -0
- data/bin/commands/oauth_v2_user.rb +27 -0
- data/bin/commands/openid_connect.rb +1 -0
- data/bin/commands/slackLists_download.rb +6 -0
- data/bin/commands/slackLists_items.rb +1 -0
- data/bin/commands/users.rb +3 -2
- data/bin/commands/views.rb +1 -0
- data/bin/slack +5 -1
- data/examples/files_upload_v2/files_upload_v2.rb +1 -1
- data/examples/hi_web/hi.rb +1 -1
- data/examples/new_ticket/new_ticket.rb +1 -1
- data/examples/oauth_v2/oauth_v2.rb +6 -6
- data/lib/slack/events/config.rb +1 -1
- data/lib/slack/events/request.rb +2 -2
- data/lib/slack/version.rb +1 -1
- data/lib/slack/web/api/endpoints/admin_analytics_messages.rb +64 -0
- data/lib/slack/web/api/endpoints/admin_apps.rb +6 -0
- data/lib/slack/web/api/endpoints/admin_apps_mcp_servers.rb +31 -0
- data/lib/slack/web/api/endpoints/admin_apps_mcp_servers_permissions.rb +46 -0
- data/lib/slack/web/api/endpoints/admin_apps_permissions.rb +83 -0
- data/lib/slack/web/api/endpoints/admin_conversations.rb +30 -0
- data/lib/slack/web/api/endpoints/admin_emoji.rb +0 -1
- data/lib/slack/web/api/endpoints/admin_functions.rb +1 -1
- data/lib/slack/web/api/endpoints/admin_functions_permissions.rb +2 -1
- data/lib/slack/web/api/endpoints/admin_usergroups.rb +111 -0
- data/lib/slack/web/api/endpoints/admin_users.rb +11 -6
- data/lib/slack/web/api/endpoints/admin_users_session.rb +0 -2
- data/lib/slack/web/api/endpoints/admin_workflows_triggers_types_permissions.rb +3 -3
- data/lib/slack/web/api/endpoints/agents_sessions.rb +54 -0
- data/lib/slack/web/api/endpoints/apps_icon.rb +28 -0
- data/lib/slack/web/api/endpoints/apps_managed_permissions.rb +27 -0
- data/lib/slack/web/api/endpoints/apps_manifest.rb +5 -3
- data/lib/slack/web/api/endpoints/apps_user_connection.rb +27 -0
- data/lib/slack/web/api/endpoints/assistant_search.rb +3 -1
- data/lib/slack/web/api/endpoints/assistant_threads.rb +9 -4
- data/lib/slack/web/api/endpoints/blocks.rb +28 -0
- data/lib/slack/web/api/endpoints/bookmarks.rb +6 -12
- data/lib/slack/web/api/endpoints/canvases.rb +16 -2
- data/lib/slack/web/api/endpoints/chat.rb +39 -17
- data/lib/slack/web/api/endpoints/conversations.rb +2 -2
- data/lib/slack/web/api/endpoints/conversations_canvases.rb +1 -1
- data/lib/slack/web/api/endpoints/entity.rb +48 -0
- data/lib/slack/web/api/endpoints/files.rb +8 -1
- data/lib/slack/web/api/endpoints/oauth_v2.rb +35 -0
- data/lib/slack/web/api/endpoints/oauth_v2_user.rb +37 -0
- data/lib/slack/web/api/endpoints/openid_connect.rb +2 -0
- data/lib/slack/web/api/endpoints/slackLists_download.rb +12 -0
- data/lib/slack/web/api/endpoints/slackLists_items.rb +2 -0
- data/lib/slack/web/api/endpoints/users.rb +3 -2
- data/lib/slack/web/api/endpoints/views.rb +1 -0
- data/lib/slack/web/api/endpoints.rb +20 -0
- data/lib/slack/web/api/errors/server_error.rb +1 -1
- data/lib/slack/web/api/errors/slack_error.rb +1 -1
- data/lib/slack/web/api/errors/too_many_requests_error.rb +1 -1
- data/lib/slack/web/api/errors.rb +230 -6
- data/lib/slack/web/api/helpers/files.rb +2 -2
- data/lib/slack/web/api/mixins/conversations.id.rb +2 -1
- data/lib/slack/web/api/mixins/ids.id.rb +3 -1
- data/lib/slack/web/api/mixins/users.id.rb +2 -1
- data/lib/slack/web/api/mixins/users.search.rb +1 -1
- data/lib/slack/web/api/patches/files.default-filename.patch +12 -0
- data/lib/slack/web/api/templates/method.erb +3 -1
- data/lib/slack/web/api/templates/method_spec.erb +32 -3
- data/lib/slack/web/client.rb +29 -0
- data/lib/slack/web/faraday/request.rb +22 -2
- data/lib/tasks/web.rake +5 -2
- data/slack-ruby-client.gemspec +0 -1
- metadata +32 -19
- data/.github/workflows/pr_lint.yml +0 -21
- data/Gemfile.danger +0 -6
data/lib/slack/web/api/errors.rb
CHANGED
|
@@ -5,12 +5,15 @@ module Slack
|
|
|
5
5
|
module Web
|
|
6
6
|
module Api
|
|
7
7
|
module Errors
|
|
8
|
+
class AccepterEmailNotVerified < SlackError; end
|
|
8
9
|
class AccessDenied < SlackError; end
|
|
9
10
|
class AccessTokenExchangeFailed < SlackError; end
|
|
10
11
|
class Accesslimited < SlackError; end
|
|
11
12
|
class AccountInactive < SlackError; end
|
|
12
13
|
class ActionAlreadyInProgress < SlackError; end
|
|
14
|
+
class AdminAnalyticsDisabled < SlackError; end
|
|
13
15
|
class AdminUnauthorized < SlackError; end
|
|
16
|
+
class AgentPromptDisplayNotAllowed < SlackError; end
|
|
14
17
|
class AlreadyApproved < SlackError; end
|
|
15
18
|
class AlreadyArchived < SlackError; end
|
|
16
19
|
class AlreadyInChannel < SlackError; end
|
|
@@ -22,11 +25,22 @@ module Slack
|
|
|
22
25
|
class AlreadyReacted < SlackError; end
|
|
23
26
|
class AlreadyStarred < SlackError; end
|
|
24
27
|
class AltTxtTooLarge < SlackError; end
|
|
28
|
+
class AnalyticsUnavailable < SlackError; end
|
|
29
|
+
class AppAccessRestricted < SlackError; end
|
|
30
|
+
class AppAclNotFound < SlackError; end
|
|
31
|
+
class AppCannotJoinChannel < SlackError; end
|
|
25
32
|
class AppManagementAppNotInstalledOnOrg < SlackError; end
|
|
26
33
|
class AppMissingActionUrl < SlackError; end
|
|
34
|
+
class AppNotAdminApproved < SlackError; end
|
|
27
35
|
class AppNotEligible < SlackError; end
|
|
36
|
+
class AppNotEligibleForAutoInstall < SlackError; end
|
|
28
37
|
class AppNotFound < SlackError; end
|
|
29
38
|
class AppNotHosted < SlackError; end
|
|
39
|
+
class AppNotManaged < SlackError; end
|
|
40
|
+
class AppNotOrgInstalled < SlackError; end
|
|
41
|
+
class AppNotOwnedByManagerApp < SlackError; end
|
|
42
|
+
class AppNotSubscribed < SlackError; end
|
|
43
|
+
class AppOwnerNotFound < SlackError; end
|
|
30
44
|
class AppRestrictedOrgWide < SlackError; end
|
|
31
45
|
class ApprovalInactive < SlackError; end
|
|
32
46
|
class ApprovalNotFound < SlackError; end
|
|
@@ -37,7 +51,9 @@ module Slack
|
|
|
37
51
|
class AttachmentPayloadLimitExceeded < SlackError; end
|
|
38
52
|
class AuthMismatch < SlackError; end
|
|
39
53
|
class AuthorizationNotFound < SlackError; end
|
|
54
|
+
class AutoInstallRuleCreationFailed < SlackError; end
|
|
40
55
|
class AutoProvisionFailure < SlackError; end
|
|
56
|
+
class AutoProvisionRequired < SlackError; end
|
|
41
57
|
class BadClientSecret < SlackError; end
|
|
42
58
|
class BadHandle < SlackError; end
|
|
43
59
|
class BadImage < SlackError; end
|
|
@@ -80,15 +96,19 @@ module Slack
|
|
|
80
96
|
class CannotInvalidatePrimaryOwner < SlackError; end
|
|
81
97
|
class CannotKickHomeTeam < SlackError; end
|
|
82
98
|
class CannotKickTeam < SlackError; end
|
|
99
|
+
class CannotModifyPrefAfterCreation < SlackError; end
|
|
83
100
|
class CannotModifyPrimaryOwner < SlackError; end
|
|
101
|
+
class CannotModifyRoleAdmin < SlackError; end
|
|
84
102
|
class CannotMoveLocalChannel < SlackError; end
|
|
85
103
|
class CannotParse < SlackError; end
|
|
86
104
|
class CannotParseAttachment < SlackError; end
|
|
87
105
|
class CannotPrompt < SlackError; end
|
|
106
|
+
class CannotProvideBothMarkdownTextAndChunks < SlackError; end
|
|
88
107
|
class CannotReplyToMessage < SlackError; end
|
|
89
108
|
class CannotResetBot < SlackError; end
|
|
90
109
|
class CannotResetPrimaryOwner < SlackError; end
|
|
91
110
|
class CannotResolveAlias < SlackError; end
|
|
111
|
+
class CannotSetOrgAdminToRegularAtWorkspaceLevel < SlackError; end
|
|
92
112
|
class CannotSetThisGuestToRegularAtTeamLevel < SlackError; end
|
|
93
113
|
class CannotShareCrossWorkspaceChannel < SlackError; end
|
|
94
114
|
class CannotShareMandatoryChannel < SlackError; end
|
|
@@ -113,17 +133,19 @@ module Slack
|
|
|
113
133
|
class CanvasDisabledFileTeam < SlackError; end
|
|
114
134
|
class CanvasDisabledUserTeam < SlackError; end
|
|
115
135
|
class CanvasEditingFailed < SlackError; end
|
|
136
|
+
class CanvasEditingLocked < SlackError; end
|
|
116
137
|
class CanvasGloballyDisabled < SlackError; end
|
|
117
138
|
class CanvasNotFound < SlackError; end
|
|
118
139
|
class CanvasTabCreationFailed < SlackError; end
|
|
140
|
+
class CanvasTooLarge < SlackError; end
|
|
119
141
|
class ChannelAlreadyExists < SlackError; end
|
|
120
142
|
class ChannelArchived < SlackError; end
|
|
121
143
|
class ChannelCannotBeUnshared < SlackError; end
|
|
122
144
|
class ChannelCanvasAlreadyExists < SlackError; end
|
|
123
145
|
class ChannelCanvasCreationFailed < SlackError; end
|
|
124
|
-
class ChannelCanvasDeleted < SlackError; end
|
|
125
146
|
class ChannelConversionInProgress < SlackError; end
|
|
126
147
|
class ChannelConversionIncomplete < SlackError; end
|
|
148
|
+
class ChannelIdsRequired < SlackError; end
|
|
127
149
|
class ChannelIsArchived < SlackError; end
|
|
128
150
|
class ChannelIsLimitedAccess < SlackError; end
|
|
129
151
|
class ChannelIsNotPrivate < SlackError; end
|
|
@@ -132,13 +154,17 @@ module Slack
|
|
|
132
154
|
class ChannelNotFound < SlackError; end
|
|
133
155
|
class ChannelNotOrgWideShared < SlackError; end
|
|
134
156
|
class ChannelOwnerRestriction < SlackError; end
|
|
157
|
+
class ChannelRestrictionRequiresAppAccess < SlackError; end
|
|
158
|
+
class ChannelRestrictionsNotAvailable < SlackError; end
|
|
135
159
|
class ChannelSharedWithNonapprovedTeam < SlackError; end
|
|
136
160
|
class ChannelTypeNotSupported < SlackError; end
|
|
137
161
|
class ChannelsLimitExceeded < SlackError; end
|
|
162
|
+
class ClientIdMismatch < SlackError; end
|
|
138
163
|
class ClientIdTokenMismatch < SlackError; end
|
|
139
164
|
class CodeAlreadyUsed < SlackError; end
|
|
140
165
|
class ColumnIdNotProvided < SlackError; end
|
|
141
166
|
class ColumnNotFound < SlackError; end
|
|
167
|
+
class ConfigNotFound < SlackError; end
|
|
142
168
|
class ConnectedOrgDenied < SlackError; end
|
|
143
169
|
class ConnectedTeamDenied < SlackError; end
|
|
144
170
|
class ConnectedTeamPassedInIsNotTopLevelTeam < SlackError; end
|
|
@@ -170,6 +196,8 @@ module Slack
|
|
|
170
196
|
class DeleteNotAllowed < SlackError; end
|
|
171
197
|
class DeprecatedEndpoint < SlackError; end
|
|
172
198
|
class DescriptionTooLong < SlackError; end
|
|
199
|
+
class DifferentTeamOwnsMessageMetadataForChannel < SlackError; end
|
|
200
|
+
class DisallowedAction < SlackError; end
|
|
173
201
|
class DiscoverabilitySettingInvalid < SlackError; end
|
|
174
202
|
class DomainTaken < SlackError; end
|
|
175
203
|
class DraftAlreadyDeleted < SlackError; end
|
|
@@ -180,8 +208,16 @@ module Slack
|
|
|
180
208
|
class DuplicateExternalId < SlackError; end
|
|
181
209
|
class DuplicateMessageNotFound < SlackError; end
|
|
182
210
|
class DuplicatedItemNotFound < SlackError; end
|
|
211
|
+
class DynamicClientRegistrationFailed < SlackError; end
|
|
212
|
+
class DynamicClientRegistrationInvalidRedirectUri < SlackError; end
|
|
213
|
+
class DynamicClientRegistrationInvalidResponse < SlackError; end
|
|
214
|
+
class DynamicClientRegistrationMissingOauthEndpoints < SlackError; end
|
|
215
|
+
class DynamicClientRegistrationNotSupported < SlackError; end
|
|
216
|
+
class DynamicClientRegistrationRejected < SlackError; end
|
|
183
217
|
class EditWindowClosed < SlackError; end
|
|
184
218
|
class EkmAccessDenied < SlackError; end
|
|
219
|
+
class EmaDisabled < SlackError; end
|
|
220
|
+
class EmaIssuerMismatch < SlackError; end
|
|
185
221
|
class EmailDoesNotMatch < SlackError; end
|
|
186
222
|
class EmailNotVerified < SlackError; end
|
|
187
223
|
class EmailTaken < SlackError; end
|
|
@@ -190,6 +226,7 @@ module Slack
|
|
|
190
226
|
class EndpointUnavailable < SlackError; end
|
|
191
227
|
class EnterpriseIsRestricted < SlackError; end
|
|
192
228
|
class EnterpriseNotFound < SlackError; end
|
|
229
|
+
class EnterpriseOnlyFeature < SlackError; end
|
|
193
230
|
class EntityMetadataDoesNotMatchTrigger < SlackError; end
|
|
194
231
|
class EntityNotFound < SlackError; end
|
|
195
232
|
class ErrorAddingCollaborators < SlackError; end
|
|
@@ -206,7 +243,6 @@ module Slack
|
|
|
206
243
|
class ErrorNameTaken < SlackError; end
|
|
207
244
|
class ErrorNameTakenI18n < SlackError; end
|
|
208
245
|
class ErrorNoImage < SlackError; end
|
|
209
|
-
class ErrorProcessingMetadata < SlackError; end
|
|
210
246
|
class ErrorRemovingCollaborators < SlackError; end
|
|
211
247
|
class ErrorTooBig < SlackError; end
|
|
212
248
|
class ErrorUnpublishingWorkflows < SlackError; end
|
|
@@ -226,6 +262,7 @@ module Slack
|
|
|
226
262
|
class FailedForSomeEntities < SlackError; end
|
|
227
263
|
class FailedForSomeUsers < SlackError; end
|
|
228
264
|
class FailedForSomeUsersAndEntities < SlackError; end
|
|
265
|
+
class FailedGeneratingAppToken < SlackError; end
|
|
229
266
|
class FailedLookingUpUser < SlackError; end
|
|
230
267
|
class FailedSendingDialog < SlackError; end
|
|
231
268
|
class FailedToAddEmoji < SlackError; end
|
|
@@ -237,18 +274,21 @@ module Slack
|
|
|
237
274
|
class FailedToRemoveUserFromWorkspace < SlackError; end
|
|
238
275
|
class FailedToRenameEmoji < SlackError; end
|
|
239
276
|
class FailedToSendInvite < SlackError; end
|
|
277
|
+
class FailedToSetAdminOnWorkspaces < SlackError; end
|
|
240
278
|
class FailedToSetDefaultChannels < SlackError; end
|
|
241
279
|
class FailedToSetDescription < SlackError; end
|
|
242
280
|
class FailedToSetDiscoverability < SlackError; end
|
|
243
281
|
class FailedToSetExpiration < SlackError; end
|
|
244
282
|
class FailedToSetIcon < SlackError; end
|
|
245
283
|
class FailedToSetName < SlackError; end
|
|
284
|
+
class FailedToSetOwnerOnWorkspaces < SlackError; end
|
|
246
285
|
class FailedToSetUserToAdmin < SlackError; end
|
|
247
286
|
class FailedToSetUserToOwner < SlackError; end
|
|
248
287
|
class FailedToSetUserToRegular < SlackError; end
|
|
249
288
|
class FailedToStartTrial < SlackError; end
|
|
250
289
|
class FailedToUnlinkChannel < SlackError; end
|
|
251
290
|
class FailedToUnshare < SlackError; end
|
|
291
|
+
class FailedToUpdateChannels < SlackError; end
|
|
252
292
|
class FailedToUpdateUserIds < SlackError; end
|
|
253
293
|
class FailedToValidateCaller < SlackError; end
|
|
254
294
|
class FailedToValidateChannels < SlackError; end
|
|
@@ -257,6 +297,7 @@ module Slack
|
|
|
257
297
|
class FailedToValidateTeam < SlackError; end
|
|
258
298
|
class FailureRemovingEmoji < SlackError; end
|
|
259
299
|
class FatalError < SlackError; end
|
|
300
|
+
class FeatureDisabled < SlackError; end
|
|
260
301
|
class FeatureNotAvailable < SlackError; end
|
|
261
302
|
class FeatureNotEnabled < SlackError; end
|
|
262
303
|
class FetchMembersFailed < SlackError; end
|
|
@@ -265,13 +306,17 @@ module Slack
|
|
|
265
306
|
class FileCommentNotFound < SlackError; end
|
|
266
307
|
class FileDeleted < SlackError; end
|
|
267
308
|
class FileDeletingDisabled < SlackError; end
|
|
309
|
+
class FileIsDeleted < SlackError; end
|
|
268
310
|
class FileNotFound < SlackError; end
|
|
269
311
|
class FileNotShared < SlackError; end
|
|
270
312
|
class FileNotYetAvailable < SlackError; end
|
|
313
|
+
class FileShareLimitReached < SlackError; end
|
|
314
|
+
class FileTypeNotAllowed < SlackError; end
|
|
271
315
|
class FileUnderReview < SlackError; end
|
|
272
316
|
class FileUpdateFailed < SlackError; end
|
|
273
317
|
class FileUploadSizeRestricted < SlackError; end
|
|
274
318
|
class FileUploadsDisabled < SlackError; end
|
|
319
|
+
class FileUploadsExceptImagesDisabled < SlackError; end
|
|
275
320
|
class ForbiddenHandle < SlackError; end
|
|
276
321
|
class ForbiddenTeam < SlackError; end
|
|
277
322
|
class FreeTeamCanvasTabAlreadyExists < SlackError; end
|
|
@@ -286,6 +331,7 @@ module Slack
|
|
|
286
331
|
class HandleAlreadyExists < SlackError; end
|
|
287
332
|
class HasAlreadyConnectedToOrg < SlackError; end
|
|
288
333
|
class HashConflict < SlackError; end
|
|
334
|
+
class IconNotAccessible < SlackError; end
|
|
289
335
|
class InactiveCall < SlackError; end
|
|
290
336
|
class InactiveInvite < SlackError; end
|
|
291
337
|
class IncludeDeactivatedUserWorkspacesInvalid < SlackError; end
|
|
@@ -303,6 +349,7 @@ module Slack
|
|
|
303
349
|
class InvalidArrayArg < SlackError; end
|
|
304
350
|
class InvalidAttachment < SlackError; end
|
|
305
351
|
class InvalidAttachments < SlackError; end
|
|
352
|
+
class InvalidAudience < SlackError; end
|
|
306
353
|
class InvalidAuth < SlackError; end
|
|
307
354
|
class InvalidBlocks < SlackError; end
|
|
308
355
|
class InvalidBlocksFormat < SlackError; end
|
|
@@ -311,10 +358,13 @@ module Slack
|
|
|
311
358
|
class InvalidChannel < SlackError; end
|
|
312
359
|
class InvalidChannelId < SlackError; end
|
|
313
360
|
class InvalidChannelProvided < SlackError; end
|
|
361
|
+
class InvalidChannelRestrictionMode < SlackError; end
|
|
314
362
|
class InvalidChannelType < SlackError; end
|
|
315
363
|
class InvalidChannelsLimit < SlackError; end
|
|
316
364
|
class InvalidCharset < SlackError; end
|
|
317
365
|
class InvalidChildType < SlackError; end
|
|
366
|
+
class InvalidChunks < SlackError; end
|
|
367
|
+
class InvalidClient < SlackError; end
|
|
318
368
|
class InvalidClientId < SlackError; end
|
|
319
369
|
class InvalidCode < SlackError; end
|
|
320
370
|
class InvalidCodeVerifier < SlackError; end
|
|
@@ -331,17 +381,21 @@ module Slack
|
|
|
331
381
|
class InvalidEmoji < SlackError; end
|
|
332
382
|
class InvalidEmojiNotAllowed < SlackError; end
|
|
333
383
|
class InvalidEnterprise < SlackError; end
|
|
384
|
+
class InvalidEntities < SlackError; end
|
|
334
385
|
class InvalidEntityId < SlackError; end
|
|
335
386
|
class InvalidEventContext < SlackError; end
|
|
336
387
|
class InvalidExternalId < SlackError; end
|
|
337
388
|
class InvalidFieldOrData < SlackError; end
|
|
338
389
|
class InvalidFormData < SlackError; end
|
|
390
|
+
class InvalidGrant < SlackError; end
|
|
339
391
|
class InvalidGrantType < SlackError; end
|
|
340
392
|
class InvalidGroupProvided < SlackError; end
|
|
341
393
|
class InvalidHostTeam < SlackError; end
|
|
394
|
+
class InvalidIconSize < SlackError; end
|
|
342
395
|
class InvalidInputType < SlackError; end
|
|
343
396
|
class InvalidLimit < SlackError; end
|
|
344
397
|
class InvalidLink < SlackError; end
|
|
398
|
+
class InvalidManagerApp < SlackError; end
|
|
345
399
|
class InvalidManifest < SlackError; end
|
|
346
400
|
class InvalidMessage < SlackError; end
|
|
347
401
|
class InvalidMetadata < SlackError; end
|
|
@@ -356,9 +410,10 @@ module Slack
|
|
|
356
410
|
class InvalidNamedEntities < SlackError; end
|
|
357
411
|
class InvalidOooMessage < SlackError; end
|
|
358
412
|
class InvalidOptionId < SlackError; end
|
|
359
|
-
class InvalidOrgId < SlackError; end
|
|
360
413
|
class InvalidParameters < SlackError; end
|
|
361
414
|
class InvalidParentType < SlackError; end
|
|
415
|
+
class InvalidPermission < SlackError; end
|
|
416
|
+
class InvalidPermissionSet < SlackError; end
|
|
362
417
|
class InvalidPermissionType < SlackError; end
|
|
363
418
|
class InvalidPermissions < SlackError; end
|
|
364
419
|
class InvalidPhoneNumber < SlackError; end
|
|
@@ -371,6 +426,7 @@ module Slack
|
|
|
371
426
|
class InvalidRefreshToken < SlackError; end
|
|
372
427
|
class InvalidRequest < SlackError; end
|
|
373
428
|
class InvalidRequestId < SlackError; end
|
|
429
|
+
class InvalidResource < SlackError; end
|
|
374
430
|
class InvalidRestrictedSubjects < SlackError; end
|
|
375
431
|
class InvalidRoleForUser < SlackError; end
|
|
376
432
|
class InvalidRoleId < SlackError; end
|
|
@@ -379,6 +435,7 @@ module Slack
|
|
|
379
435
|
class InvalidSchema < SlackError; end
|
|
380
436
|
class InvalidScopes < SlackError; end
|
|
381
437
|
class InvalidSearchChannelType < SlackError; end
|
|
438
|
+
class InvalidSenderSchema < SlackError; end
|
|
382
439
|
class InvalidSetting < SlackError; end
|
|
383
440
|
class InvalidShortcutType < SlackError; end
|
|
384
441
|
class InvalidSort < SlackError; end
|
|
@@ -386,6 +443,7 @@ module Slack
|
|
|
386
443
|
class InvalidSource < SlackError; end
|
|
387
444
|
class InvalidStartTime < SlackError; end
|
|
388
445
|
class InvalidStartsWithAt < SlackError; end
|
|
446
|
+
class InvalidStatus < SlackError; end
|
|
389
447
|
class InvalidTargetTeam < SlackError; end
|
|
390
448
|
class InvalidTeam < SlackError; end
|
|
391
449
|
class InvalidTeamId < SlackError; end
|
|
@@ -408,8 +466,10 @@ module Slack
|
|
|
408
466
|
class InvalidUser < SlackError; end
|
|
409
467
|
class InvalidUserCombination < SlackError; end
|
|
410
468
|
class InvalidUserId < SlackError; end
|
|
469
|
+
class InvalidUsergroup < SlackError; end
|
|
411
470
|
class InvalidUsers < SlackError; end
|
|
412
471
|
class InvalidValue < SlackError; end
|
|
472
|
+
class InvalidView < SlackError; end
|
|
413
473
|
class InvalidVisibility < SlackError; end
|
|
414
474
|
class InvalidVoteValue < SlackError; end
|
|
415
475
|
class InvalidWorkflowAuthStrategy < SlackError; end
|
|
@@ -444,13 +504,20 @@ module Slack
|
|
|
444
504
|
class ListRecordCommentFetchFailed < SlackError; end
|
|
445
505
|
class ListsDisabledUserTeam < SlackError; end
|
|
446
506
|
class MalwareDetected < SlackError; end
|
|
507
|
+
class ManagedAppLimitReached < SlackError; end
|
|
447
508
|
class ManagedChannelNotSupported < SlackError; end
|
|
509
|
+
class ManagerAppNotEligible < SlackError; end
|
|
448
510
|
class MarkdownTextConflict < SlackError; end
|
|
511
|
+
class MarkdownTextOrChunksRequired < SlackError; end
|
|
512
|
+
class MarkdownTextRequired < SlackError; end
|
|
513
|
+
class MaxFileSharingExceeded < SlackError; end
|
|
449
514
|
class MemberAnalyticsDisabled < SlackError; end
|
|
515
|
+
class MemberCountWouldExceedVisibleLimit < SlackError; end
|
|
450
516
|
class MemberLimitExceeded < SlackError; end
|
|
451
517
|
class MessageLimitExceeded < SlackError; end
|
|
452
518
|
class MessageNotFound < SlackError; end
|
|
453
519
|
class MessageNotInStreamingState < SlackError; end
|
|
520
|
+
class MessageNotOwnedByApp < SlackError; end
|
|
454
521
|
class MessageTooLong < SlackError; end
|
|
455
522
|
class MessagesTabDisabled < SlackError; end
|
|
456
523
|
class MessagingProcessingFailed < SlackError; end
|
|
@@ -459,6 +526,7 @@ module Slack
|
|
|
459
526
|
class MetadataOnlyDoesNotSupportDate < SlackError; end
|
|
460
527
|
class MetadataTooLarge < SlackError; end
|
|
461
528
|
class MethodDeprecated < SlackError; end
|
|
529
|
+
class MethodNotFound < SlackError; end
|
|
462
530
|
class MethodNotSupported < SlackError; end
|
|
463
531
|
class MethodNotSupportedForChannelType < SlackError; end
|
|
464
532
|
class MigrationInProgress < SlackError; end
|
|
@@ -467,6 +535,8 @@ module Slack
|
|
|
467
535
|
class MissingArgument < SlackError; end
|
|
468
536
|
class MissingArguments < SlackError; end
|
|
469
537
|
class MissingChannel < SlackError; end
|
|
538
|
+
class MissingCommentData < SlackError; end
|
|
539
|
+
class MissingDeleteActionId < SlackError; end
|
|
470
540
|
class MissingDialog < SlackError; end
|
|
471
541
|
class MissingDuration < SlackError; end
|
|
472
542
|
class MissingFileData < SlackError; end
|
|
@@ -485,13 +555,16 @@ module Slack
|
|
|
485
555
|
class MissingSubteamName < SlackError; end
|
|
486
556
|
class MissingTargetTeam < SlackError; end
|
|
487
557
|
class MissingTeam < SlackError; end
|
|
558
|
+
class MissingThreadTs < SlackError; end
|
|
488
559
|
class MissingTrigger < SlackError; end
|
|
489
560
|
class MissingTs < SlackError; end
|
|
490
561
|
class MissingUnfurlId < SlackError; end
|
|
491
562
|
class MissingUnfurls < SlackError; end
|
|
492
563
|
class MissingUser < SlackError; end
|
|
493
564
|
class MsgBlocksTooLong < SlackError; end
|
|
565
|
+
class MsgBlocksTooMany < SlackError; end
|
|
494
566
|
class MsgTooLong < SlackError; end
|
|
567
|
+
class MultiWorkspaceRestriction < SlackError; end
|
|
495
568
|
class MustClearBothStatusTextAndStatusEmoji < SlackError; end
|
|
496
569
|
class MustProvideTeamDomain < SlackError; end
|
|
497
570
|
class MustProvideTeamName < SlackError; end
|
|
@@ -505,6 +578,9 @@ module Slack
|
|
|
505
578
|
class NoAccess < SlackError; end
|
|
506
579
|
class NoActiveSessions < SlackError; end
|
|
507
580
|
class NoAliasSelected < SlackError; end
|
|
581
|
+
class NoAppScopesRequested < SlackError; end
|
|
582
|
+
class NoApprovedScopesRequested < SlackError; end
|
|
583
|
+
class NoAssertion < SlackError; end
|
|
508
584
|
class NoBotUserForApp < SlackError; end
|
|
509
585
|
class NoChannel < SlackError; end
|
|
510
586
|
class NoChannelMemberships < SlackError; end
|
|
@@ -517,6 +593,7 @@ module Slack
|
|
|
517
593
|
class NoPermission < SlackError; end
|
|
518
594
|
class NoPerms < SlackError; end
|
|
519
595
|
class NoPin < SlackError; end
|
|
596
|
+
class NoQuery < SlackError; end
|
|
520
597
|
class NoReaction < SlackError; end
|
|
521
598
|
class NoRefreshToken < SlackError; end
|
|
522
599
|
class NoResolutionFound < SlackError; end
|
|
@@ -528,6 +605,7 @@ module Slack
|
|
|
528
605
|
class NoText < SlackError; end
|
|
529
606
|
class NoTokensFound < SlackError; end
|
|
530
607
|
class NoUser < SlackError; end
|
|
608
|
+
class NoUserScopes < SlackError; end
|
|
531
609
|
class NoUsersProvided < SlackError; end
|
|
532
610
|
class NoValidChannels < SlackError; end
|
|
533
611
|
class NoValidEntities < SlackError; end
|
|
@@ -535,8 +613,10 @@ module Slack
|
|
|
535
613
|
class NoValidTeams < SlackError; end
|
|
536
614
|
class NoValidUsers < SlackError; end
|
|
537
615
|
class NotAdmin < SlackError; end
|
|
616
|
+
class NotAgentApp < SlackError; end
|
|
538
617
|
class NotAllowed < SlackError; end
|
|
539
618
|
class NotAllowedForGridWorkspace < SlackError; end
|
|
619
|
+
class NotAllowedToCreateAutomationRule < SlackError; end
|
|
540
620
|
class NotAllowedTokenType < SlackError; end
|
|
541
621
|
class NotAnAdmin < SlackError; end
|
|
542
622
|
class NotAnEnterprise < SlackError; end
|
|
@@ -563,6 +643,7 @@ module Slack
|
|
|
563
643
|
class NotSupported < SlackError; end
|
|
564
644
|
class NotVisible < SlackError; end
|
|
565
645
|
class OauthAuthorizationUrlMismatch < SlackError; end
|
|
646
|
+
class OauthMetadataNotFound < SlackError; end
|
|
566
647
|
class OneOrMoreInvalidChannels < SlackError; end
|
|
567
648
|
class OrgLevelEmailDisplayDisabled < SlackError; end
|
|
568
649
|
class OrgLoginRequired < SlackError; end
|
|
@@ -595,6 +676,7 @@ module Slack
|
|
|
595
676
|
class PreviewFeatureNotAvailable < SlackError; end
|
|
596
677
|
class PrimaryUsergroupNotFound < SlackError; end
|
|
597
678
|
class ProfileSetFailed < SlackError; end
|
|
679
|
+
class PropertyNotAllowed < SlackError; end
|
|
598
680
|
class ProvidersNotFound < SlackError; end
|
|
599
681
|
class PublicFileTypeNotAllowed < SlackError; end
|
|
600
682
|
class PublicVideoNotAllowed < SlackError; end
|
|
@@ -606,13 +688,16 @@ module Slack
|
|
|
606
688
|
class Ratelimited < SlackError; end
|
|
607
689
|
class RecipientsNotSpecified < SlackError; end
|
|
608
690
|
class RecordChannelAlreadyExists < SlackError; end
|
|
691
|
+
class RecordChannelCannotBeExternallyShared < SlackError; end
|
|
609
692
|
class RecordDeleted < SlackError; end
|
|
610
693
|
class RecordNotFound < SlackError; end
|
|
611
694
|
class RequestAlreadyResolved < SlackError; end
|
|
612
695
|
class RequestIdOrAppIdIsRequired < SlackError; end
|
|
613
696
|
class RequestIdRequiredForCustomIntegrations < SlackError; end
|
|
614
697
|
class RequestTimeout < SlackError; end
|
|
698
|
+
class RequiredVisibility < SlackError; end
|
|
615
699
|
class ReservedName < SlackError; end
|
|
700
|
+
class ReservedUsername < SlackError; end
|
|
616
701
|
class ResizedButStillTooLarge < SlackError; end
|
|
617
702
|
class RestrictedAction < SlackError; end
|
|
618
703
|
class RestrictedActionNonThreadableChannel < SlackError; end
|
|
@@ -622,10 +707,15 @@ module Slack
|
|
|
622
707
|
class RestrictedPlanLevel < SlackError; end
|
|
623
708
|
class RestrictedTooMany < SlackError; end
|
|
624
709
|
class RetentionOverrideNotAllowed < SlackError; end
|
|
710
|
+
class RotationNotFound < SlackError; end
|
|
625
711
|
class RowIdNotProvided < SlackError; end
|
|
626
712
|
class RowNotFound < SlackError; end
|
|
627
713
|
class RtmConnectRequired < SlackError; end
|
|
714
|
+
class SendOnBehalfNotAllowed < SlackError; end
|
|
628
715
|
class SentRecently < SlackError; end
|
|
716
|
+
class ServerAclEntitiesNotInScope < SlackError; end
|
|
717
|
+
class ServerAclTypeBroaderThanApp < SlackError; end
|
|
718
|
+
class ServerNotFound < SlackError; end
|
|
629
719
|
class ServiceUnavailable < SlackError; end
|
|
630
720
|
class SessionInvalidationFailed < SlackError; end
|
|
631
721
|
class SessionNotFound < SlackError; end
|
|
@@ -640,8 +730,12 @@ module Slack
|
|
|
640
730
|
class SnippetTooLarge < SlackError; end
|
|
641
731
|
class SnoozeEndFailed < SlackError; end
|
|
642
732
|
class SnoozeFailed < SlackError; end
|
|
733
|
+
class SocketModeNotEnabled < SlackError; end
|
|
643
734
|
class SpecifyEnterpriseOrTeams < SlackError; end
|
|
735
|
+
class StaticPromptsConfigured < SlackError; end
|
|
736
|
+
class StoppedByUser < SlackError; end
|
|
644
737
|
class StorageLimitReached < SlackError; end
|
|
738
|
+
class StreamingModeMismatch < SlackError; end
|
|
645
739
|
class StreamingStateConflict < SlackError; end
|
|
646
740
|
class SubteamMaxUsersExceeded < SlackError; end
|
|
647
741
|
class SudoRequired < SlackError; end
|
|
@@ -651,6 +745,7 @@ module Slack
|
|
|
651
745
|
class TeamAddedToOrg < SlackError; end
|
|
652
746
|
class TeamIdOrOrgRequired < SlackError; end
|
|
653
747
|
class TeamIdRequiredForEnterprise < SlackError; end
|
|
748
|
+
class TeamLimitExceeded < SlackError; end
|
|
654
749
|
class TeamNotConnected < SlackError; end
|
|
655
750
|
class TeamNotFound < SlackError; end
|
|
656
751
|
class TeamNotOnEnterprise < SlackError; end
|
|
@@ -660,6 +755,8 @@ module Slack
|
|
|
660
755
|
class TemplateNotVisible < SlackError; end
|
|
661
756
|
class ThreadLocked < SlackError; end
|
|
662
757
|
class ThreadNotFound < SlackError; end
|
|
758
|
+
class ThreadTsNotAllowed < SlackError; end
|
|
759
|
+
class ThreadTsRequired < SlackError; end
|
|
663
760
|
class TimeInPast < SlackError; end
|
|
664
761
|
class TimeTooFar < SlackError; end
|
|
665
762
|
class TokenAlreadyExchanged < SlackError; end
|
|
@@ -667,10 +764,12 @@ module Slack
|
|
|
667
764
|
class TokenNotFound < SlackError; end
|
|
668
765
|
class TokenRevoked < SlackError; end
|
|
669
766
|
class TokenRotationNotEnabled < SlackError; end
|
|
767
|
+
class TokenTooLong < SlackError; end
|
|
670
768
|
class TooLarge < SlackError; end
|
|
671
769
|
class TooLong < SlackError; end
|
|
672
770
|
class TooManyAttachments < SlackError; end
|
|
673
771
|
class TooManyBookmarks < SlackError; end
|
|
772
|
+
class TooManyChannels < SlackError; end
|
|
674
773
|
class TooManyContactCards < SlackError; end
|
|
675
774
|
class TooManyDomainsProvided < SlackError; end
|
|
676
775
|
class TooManyEmails < SlackError; end
|
|
@@ -683,11 +782,14 @@ module Slack
|
|
|
683
782
|
class TooManyMembers < SlackError; end
|
|
684
783
|
class TooManyNamedEntities < SlackError; end
|
|
685
784
|
class TooManyPins < SlackError; end
|
|
785
|
+
class TooManyProperties < SlackError; end
|
|
686
786
|
class TooManyReactions < SlackError; end
|
|
787
|
+
class TooManyRequests < SlackError; end
|
|
687
788
|
class TooManyTabs < SlackError; end
|
|
688
789
|
class TooManyTargetTeams < SlackError; end
|
|
689
790
|
class TooManyTeams < SlackError; end
|
|
690
791
|
class TooManyTeamsProvided < SlackError; end
|
|
792
|
+
class TooManyUsergroupMembersToMakeVisible < SlackError; end
|
|
691
793
|
class TooManyUsers < SlackError; end
|
|
692
794
|
class TriggerExchanged < SlackError; end
|
|
693
795
|
class TriggerExpired < SlackError; end
|
|
@@ -697,7 +799,10 @@ module Slack
|
|
|
697
799
|
class UnableToDelete < SlackError; end
|
|
698
800
|
class UnableToFetchCustomEmojis < SlackError; end
|
|
699
801
|
class UnableToLinkIdpGroupAndChannel < SlackError; end
|
|
802
|
+
class UnableToOpenFile < SlackError; end
|
|
803
|
+
class UnableToParseCsv < SlackError; end
|
|
700
804
|
class UnableToProcessPostRequest < SlackError; end
|
|
805
|
+
class UnableToShareFiles < SlackError; end
|
|
701
806
|
class UnableToUnlinkIdpGroupAndChannel < SlackError; end
|
|
702
807
|
class UnableToUpdateExistingSessions < SlackError; end
|
|
703
808
|
class UneditableColumn < SlackError; end
|
|
@@ -714,6 +819,7 @@ module Slack
|
|
|
714
819
|
class UnsupportedActionDescribe < SlackError; end
|
|
715
820
|
class UnsupportedActionPut < SlackError; end
|
|
716
821
|
class UnsupportedArguments < SlackError; end
|
|
822
|
+
class UnsupportedGrantType < SlackError; end
|
|
717
823
|
class UnsupportedTeamType < SlackError; end
|
|
718
824
|
class UpdateFailed < SlackError; end
|
|
719
825
|
class UraMaxChannels < SlackError; end
|
|
@@ -722,20 +828,24 @@ module Slack
|
|
|
722
828
|
class UserAlreadyDeleted < SlackError; end
|
|
723
829
|
class UserAlreadyTeamMember < SlackError; end
|
|
724
830
|
class UserAuthUrlMissing < SlackError; end
|
|
831
|
+
class UserCannotBeAddedToWorkspace < SlackError; end
|
|
725
832
|
class UserCannotCreateChannel < SlackError; end
|
|
726
833
|
class UserCannotManagePublicChannels < SlackError; end
|
|
727
834
|
class UserCannotManageWorkspace < SlackError; end
|
|
835
|
+
class UserChannelLimitExceeded < SlackError; end
|
|
728
836
|
class UserDisabled < SlackError; end
|
|
729
837
|
class UserDoesNotOwnChannel < SlackError; end
|
|
730
838
|
class UserEmailUnverified < SlackError; end
|
|
731
839
|
class UserIsAlreadyDeleted < SlackError; end
|
|
732
840
|
class UserIsBot < SlackError; end
|
|
733
841
|
class UserIsDeactivated < SlackError; end
|
|
842
|
+
class UserIsExternalGuest < SlackError; end
|
|
734
843
|
class UserIsNotAGuest < SlackError; end
|
|
735
844
|
class UserIsNotGuest < SlackError; end
|
|
736
845
|
class UserIsRestricted < SlackError; end
|
|
737
846
|
class UserMustBeAdmin < SlackError; end
|
|
738
847
|
class UserMustBeInWorkspace < SlackError; end
|
|
848
|
+
class UserNotAuthenticated < SlackError; end
|
|
739
849
|
class UserNotFound < SlackError; end
|
|
740
850
|
class UserNotInChannel < SlackError; end
|
|
741
851
|
class UserNotVisible < SlackError; end
|
|
@@ -750,15 +860,20 @@ module Slack
|
|
|
750
860
|
class ValidationErrors < SlackError; end
|
|
751
861
|
class ViewTooLarge < SlackError; end
|
|
752
862
|
class VisibilityIsNotNamedEntities < SlackError; end
|
|
863
|
+
class VisibleGroupNeedsHandle < SlackError; end
|
|
753
864
|
class WorkflowsExportCsvNotEnabled < SlackError; end
|
|
865
|
+
class WorkspaceNotEligible < SlackError; end
|
|
754
866
|
|
|
755
867
|
ERROR_CLASSES = {
|
|
868
|
+
'accepter_email_not_verified' => AccepterEmailNotVerified,
|
|
756
869
|
'access_denied' => AccessDenied,
|
|
757
870
|
'access_token_exchange_failed' => AccessTokenExchangeFailed,
|
|
758
871
|
'accesslimited' => Accesslimited,
|
|
759
872
|
'account_inactive' => AccountInactive,
|
|
760
873
|
'action_already_in_progress' => ActionAlreadyInProgress,
|
|
874
|
+
'admin_analytics_disabled' => AdminAnalyticsDisabled,
|
|
761
875
|
'admin_unauthorized' => AdminUnauthorized,
|
|
876
|
+
'agent_prompt_display_not_allowed' => AgentPromptDisplayNotAllowed,
|
|
762
877
|
'already_approved' => AlreadyApproved,
|
|
763
878
|
'already_archived' => AlreadyArchived,
|
|
764
879
|
'already_in_channel' => AlreadyInChannel,
|
|
@@ -770,11 +885,22 @@ module Slack
|
|
|
770
885
|
'already_reacted' => AlreadyReacted,
|
|
771
886
|
'already_starred' => AlreadyStarred,
|
|
772
887
|
'alt_txt_too_large' => AltTxtTooLarge,
|
|
888
|
+
'analytics_unavailable' => AnalyticsUnavailable,
|
|
889
|
+
'app_access_restricted' => AppAccessRestricted,
|
|
890
|
+
'app_acl_not_found' => AppAclNotFound,
|
|
891
|
+
'app_cannot_join_channel' => AppCannotJoinChannel,
|
|
773
892
|
'app_management_app_not_installed_on_org' => AppManagementAppNotInstalledOnOrg,
|
|
774
893
|
'app_missing_action_url' => AppMissingActionUrl,
|
|
894
|
+
'app_not_admin_approved' => AppNotAdminApproved,
|
|
775
895
|
'app_not_eligible' => AppNotEligible,
|
|
896
|
+
'app_not_eligible_for_auto_install' => AppNotEligibleForAutoInstall,
|
|
776
897
|
'app_not_found' => AppNotFound,
|
|
777
898
|
'app_not_hosted' => AppNotHosted,
|
|
899
|
+
'app_not_managed' => AppNotManaged,
|
|
900
|
+
'app_not_org_installed' => AppNotOrgInstalled,
|
|
901
|
+
'app_not_owned_by_manager_app' => AppNotOwnedByManagerApp,
|
|
902
|
+
'app_not_subscribed' => AppNotSubscribed,
|
|
903
|
+
'app_owner_not_found' => AppOwnerNotFound,
|
|
778
904
|
'app_restricted_org_wide' => AppRestrictedOrgWide,
|
|
779
905
|
'approval_inactive' => ApprovalInactive,
|
|
780
906
|
'approval_not_found' => ApprovalNotFound,
|
|
@@ -785,7 +911,9 @@ module Slack
|
|
|
785
911
|
'attachment_payload_limit_exceeded' => AttachmentPayloadLimitExceeded,
|
|
786
912
|
'auth_mismatch' => AuthMismatch,
|
|
787
913
|
'authorization_not_found' => AuthorizationNotFound,
|
|
914
|
+
'auto_install_rule_creation_failed' => AutoInstallRuleCreationFailed,
|
|
788
915
|
'auto_provision_failure' => AutoProvisionFailure,
|
|
916
|
+
'auto_provision_required' => AutoProvisionRequired,
|
|
789
917
|
'bad_client_secret' => BadClientSecret,
|
|
790
918
|
'bad_handle' => BadHandle,
|
|
791
919
|
'bad_image' => BadImage,
|
|
@@ -828,15 +956,19 @@ module Slack
|
|
|
828
956
|
'cannot_invalidate_primary_owner' => CannotInvalidatePrimaryOwner,
|
|
829
957
|
'cannot_kick_home_team' => CannotKickHomeTeam,
|
|
830
958
|
'cannot_kick_team' => CannotKickTeam,
|
|
959
|
+
'cannot_modify_pref_after_creation' => CannotModifyPrefAfterCreation,
|
|
831
960
|
'cannot_modify_primary_owner' => CannotModifyPrimaryOwner,
|
|
961
|
+
'cannot_modify_role_admin' => CannotModifyRoleAdmin,
|
|
832
962
|
'cannot_move_local_channel' => CannotMoveLocalChannel,
|
|
833
963
|
'cannot_parse' => CannotParse,
|
|
834
964
|
'cannot_parse_attachment' => CannotParseAttachment,
|
|
835
965
|
'cannot_prompt' => CannotPrompt,
|
|
966
|
+
'cannot_provide_both_markdown_text_and_chunks' => CannotProvideBothMarkdownTextAndChunks,
|
|
836
967
|
'cannot_reply_to_message' => CannotReplyToMessage,
|
|
837
968
|
'cannot_reset_bot' => CannotResetBot,
|
|
838
969
|
'cannot_reset_primary_owner' => CannotResetPrimaryOwner,
|
|
839
970
|
'cannot_resolve_alias' => CannotResolveAlias,
|
|
971
|
+
'cannot_set_org_admin_to_regular_at_workspace_level' => CannotSetOrgAdminToRegularAtWorkspaceLevel,
|
|
840
972
|
'cannot_set_this_guest_to_regular_at_team_level' => CannotSetThisGuestToRegularAtTeamLevel,
|
|
841
973
|
'cannot_share_cross_workspace_channel' => CannotShareCrossWorkspaceChannel,
|
|
842
974
|
'cannot_share_mandatory_channel' => CannotShareMandatoryChannel,
|
|
@@ -861,17 +993,19 @@ module Slack
|
|
|
861
993
|
'canvas_disabled_file_team' => CanvasDisabledFileTeam,
|
|
862
994
|
'canvas_disabled_user_team' => CanvasDisabledUserTeam,
|
|
863
995
|
'canvas_editing_failed' => CanvasEditingFailed,
|
|
996
|
+
'canvas_editing_locked' => CanvasEditingLocked,
|
|
864
997
|
'canvas_globally_disabled' => CanvasGloballyDisabled,
|
|
865
998
|
'canvas_not_found' => CanvasNotFound,
|
|
866
999
|
'canvas_tab_creation_failed' => CanvasTabCreationFailed,
|
|
1000
|
+
'canvas_too_large' => CanvasTooLarge,
|
|
867
1001
|
'channel_already_exists' => ChannelAlreadyExists,
|
|
868
1002
|
'channel_archived' => ChannelArchived,
|
|
869
1003
|
'channel_cannot_be_unshared' => ChannelCannotBeUnshared,
|
|
870
1004
|
'channel_canvas_already_exists' => ChannelCanvasAlreadyExists,
|
|
871
1005
|
'channel_canvas_creation_failed' => ChannelCanvasCreationFailed,
|
|
872
|
-
'channel_canvas_deleted' => ChannelCanvasDeleted,
|
|
873
1006
|
'channel_conversion_in_progress' => ChannelConversionInProgress,
|
|
874
1007
|
'channel_conversion_incomplete' => ChannelConversionIncomplete,
|
|
1008
|
+
'channel_ids_required' => ChannelIdsRequired,
|
|
875
1009
|
'channel_is_archived' => ChannelIsArchived,
|
|
876
1010
|
'channel_is_limited_access' => ChannelIsLimitedAccess,
|
|
877
1011
|
'channel_is_not_private' => ChannelIsNotPrivate,
|
|
@@ -880,13 +1014,17 @@ module Slack
|
|
|
880
1014
|
'channel_not_found' => ChannelNotFound,
|
|
881
1015
|
'channel_not_org_wide_shared' => ChannelNotOrgWideShared,
|
|
882
1016
|
'channel_owner_restriction' => ChannelOwnerRestriction,
|
|
1017
|
+
'channel_restriction_requires_app_access' => ChannelRestrictionRequiresAppAccess,
|
|
1018
|
+
'channel_restrictions_not_available' => ChannelRestrictionsNotAvailable,
|
|
883
1019
|
'channel_shared_with_nonapproved_team' => ChannelSharedWithNonapprovedTeam,
|
|
884
1020
|
'channel_type_not_supported' => ChannelTypeNotSupported,
|
|
885
1021
|
'channels_limit_exceeded' => ChannelsLimitExceeded,
|
|
1022
|
+
'client_id_mismatch' => ClientIdMismatch,
|
|
886
1023
|
'client_id_token_mismatch' => ClientIdTokenMismatch,
|
|
887
1024
|
'code_already_used' => CodeAlreadyUsed,
|
|
888
1025
|
'column_id_not_provided' => ColumnIdNotProvided,
|
|
889
1026
|
'column_not_found' => ColumnNotFound,
|
|
1027
|
+
'config_not_found' => ConfigNotFound,
|
|
890
1028
|
'connected_org_denied' => ConnectedOrgDenied,
|
|
891
1029
|
'connected_team_denied' => ConnectedTeamDenied,
|
|
892
1030
|
'connected_team_passed_in_is_not_top_level_team' => ConnectedTeamPassedInIsNotTopLevelTeam,
|
|
@@ -918,6 +1056,8 @@ module Slack
|
|
|
918
1056
|
'delete_not_allowed' => DeleteNotAllowed,
|
|
919
1057
|
'deprecated_endpoint' => DeprecatedEndpoint,
|
|
920
1058
|
'description_too_long' => DescriptionTooLong,
|
|
1059
|
+
'different_team_owns_message_metadata_for_channel' => DifferentTeamOwnsMessageMetadataForChannel,
|
|
1060
|
+
'disallowed_action' => DisallowedAction,
|
|
921
1061
|
'discoverability_setting_invalid' => DiscoverabilitySettingInvalid,
|
|
922
1062
|
'domain_taken' => DomainTaken,
|
|
923
1063
|
'draft_already_deleted' => DraftAlreadyDeleted,
|
|
@@ -928,8 +1068,16 @@ module Slack
|
|
|
928
1068
|
'duplicate_external_id' => DuplicateExternalId,
|
|
929
1069
|
'duplicate_message_not_found' => DuplicateMessageNotFound,
|
|
930
1070
|
'duplicated_item_not_found' => DuplicatedItemNotFound,
|
|
1071
|
+
'dynamic_client_registration_failed' => DynamicClientRegistrationFailed,
|
|
1072
|
+
'dynamic_client_registration_invalid_redirect_uri' => DynamicClientRegistrationInvalidRedirectUri,
|
|
1073
|
+
'dynamic_client_registration_invalid_response' => DynamicClientRegistrationInvalidResponse,
|
|
1074
|
+
'dynamic_client_registration_missing_oauth_endpoints' => DynamicClientRegistrationMissingOauthEndpoints,
|
|
1075
|
+
'dynamic_client_registration_not_supported' => DynamicClientRegistrationNotSupported,
|
|
1076
|
+
'dynamic_client_registration_rejected' => DynamicClientRegistrationRejected,
|
|
931
1077
|
'edit_window_closed' => EditWindowClosed,
|
|
932
1078
|
'ekm_access_denied' => EkmAccessDenied,
|
|
1079
|
+
'ema_disabled' => EmaDisabled,
|
|
1080
|
+
'ema_issuer_mismatch' => EmaIssuerMismatch,
|
|
933
1081
|
'email_does_not_match' => EmailDoesNotMatch,
|
|
934
1082
|
'email_not_verified' => EmailNotVerified,
|
|
935
1083
|
'email_taken' => EmailTaken,
|
|
@@ -938,6 +1086,7 @@ module Slack
|
|
|
938
1086
|
'endpoint_unavailable' => EndpointUnavailable,
|
|
939
1087
|
'enterprise_is_restricted' => EnterpriseIsRestricted,
|
|
940
1088
|
'enterprise_not_found' => EnterpriseNotFound,
|
|
1089
|
+
'enterprise_only_feature' => EnterpriseOnlyFeature,
|
|
941
1090
|
'entity_metadata_does_not_match_trigger' => EntityMetadataDoesNotMatchTrigger,
|
|
942
1091
|
'entity_not_found' => EntityNotFound,
|
|
943
1092
|
'error_adding_collaborators' => ErrorAddingCollaborators,
|
|
@@ -954,7 +1103,6 @@ module Slack
|
|
|
954
1103
|
'error_name_taken' => ErrorNameTaken,
|
|
955
1104
|
'error_name_taken_i18n' => ErrorNameTakenI18n,
|
|
956
1105
|
'error_no_image' => ErrorNoImage,
|
|
957
|
-
'error_processing_metadata' => ErrorProcessingMetadata,
|
|
958
1106
|
'error_removing_collaborators' => ErrorRemovingCollaborators,
|
|
959
1107
|
'error_too_big' => ErrorTooBig,
|
|
960
1108
|
'error_unpublishing_workflows' => ErrorUnpublishingWorkflows,
|
|
@@ -974,6 +1122,7 @@ module Slack
|
|
|
974
1122
|
'failed_for_some_entities' => FailedForSomeEntities,
|
|
975
1123
|
'failed_for_some_users' => FailedForSomeUsers,
|
|
976
1124
|
'failed_for_some_users_and_entities' => FailedForSomeUsersAndEntities,
|
|
1125
|
+
'failed_generating_app_token' => FailedGeneratingAppToken,
|
|
977
1126
|
'failed_looking_up_user' => FailedLookingUpUser,
|
|
978
1127
|
'failed_sending_dialog' => FailedSendingDialog,
|
|
979
1128
|
'failed_to_add_emoji' => FailedToAddEmoji,
|
|
@@ -985,18 +1134,21 @@ module Slack
|
|
|
985
1134
|
'failed_to_remove_user_from_workspace' => FailedToRemoveUserFromWorkspace,
|
|
986
1135
|
'failed_to_rename_emoji' => FailedToRenameEmoji,
|
|
987
1136
|
'failed_to_send_invite' => FailedToSendInvite,
|
|
1137
|
+
'failed_to_set_admin_on_workspaces' => FailedToSetAdminOnWorkspaces,
|
|
988
1138
|
'failed_to_set_default_channels' => FailedToSetDefaultChannels,
|
|
989
1139
|
'failed_to_set_description' => FailedToSetDescription,
|
|
990
1140
|
'failed_to_set_discoverability' => FailedToSetDiscoverability,
|
|
991
1141
|
'failed_to_set_expiration' => FailedToSetExpiration,
|
|
992
1142
|
'failed_to_set_icon' => FailedToSetIcon,
|
|
993
1143
|
'failed_to_set_name' => FailedToSetName,
|
|
1144
|
+
'failed_to_set_owner_on_workspaces' => FailedToSetOwnerOnWorkspaces,
|
|
994
1145
|
'failed_to_set_user_to_admin' => FailedToSetUserToAdmin,
|
|
995
1146
|
'failed_to_set_user_to_owner' => FailedToSetUserToOwner,
|
|
996
1147
|
'failed_to_set_user_to_regular' => FailedToSetUserToRegular,
|
|
997
1148
|
'failed_to_start_trial' => FailedToStartTrial,
|
|
998
1149
|
'failed_to_unlink_channel' => FailedToUnlinkChannel,
|
|
999
1150
|
'failed_to_unshare' => FailedToUnshare,
|
|
1151
|
+
'failed_to_update_channels' => FailedToUpdateChannels,
|
|
1000
1152
|
'failed_to_update_user_ids' => FailedToUpdateUserIds,
|
|
1001
1153
|
'failed_to_validate_caller' => FailedToValidateCaller,
|
|
1002
1154
|
'failed_to_validate_channels' => FailedToValidateChannels,
|
|
@@ -1005,6 +1157,7 @@ module Slack
|
|
|
1005
1157
|
'failed_to_validate_team' => FailedToValidateTeam,
|
|
1006
1158
|
'failure_removing_emoji' => FailureRemovingEmoji,
|
|
1007
1159
|
'fatal_error' => FatalError,
|
|
1160
|
+
'feature_disabled' => FeatureDisabled,
|
|
1008
1161
|
'feature_not_available' => FeatureNotAvailable,
|
|
1009
1162
|
'feature_not_enabled' => FeatureNotEnabled,
|
|
1010
1163
|
'fetch_members_failed' => FetchMembersFailed,
|
|
@@ -1013,13 +1166,17 @@ module Slack
|
|
|
1013
1166
|
'file_comment_not_found' => FileCommentNotFound,
|
|
1014
1167
|
'file_deleted' => FileDeleted,
|
|
1015
1168
|
'file_deleting_disabled' => FileDeletingDisabled,
|
|
1169
|
+
'file_is_deleted' => FileIsDeleted,
|
|
1016
1170
|
'file_not_found' => FileNotFound,
|
|
1017
1171
|
'file_not_shared' => FileNotShared,
|
|
1018
1172
|
'file_not_yet_available' => FileNotYetAvailable,
|
|
1173
|
+
'file_share_limit_reached' => FileShareLimitReached,
|
|
1174
|
+
'file_type_not_allowed' => FileTypeNotAllowed,
|
|
1019
1175
|
'file_under_review' => FileUnderReview,
|
|
1020
1176
|
'file_update_failed' => FileUpdateFailed,
|
|
1021
1177
|
'file_upload_size_restricted' => FileUploadSizeRestricted,
|
|
1022
1178
|
'file_uploads_disabled' => FileUploadsDisabled,
|
|
1179
|
+
'file_uploads_except_images_disabled' => FileUploadsExceptImagesDisabled,
|
|
1023
1180
|
'forbidden_handle' => ForbiddenHandle,
|
|
1024
1181
|
'forbidden_team' => ForbiddenTeam,
|
|
1025
1182
|
'free_team_canvas_tab_already_exists' => FreeTeamCanvasTabAlreadyExists,
|
|
@@ -1034,6 +1191,7 @@ module Slack
|
|
|
1034
1191
|
'handle_already_exists' => HandleAlreadyExists,
|
|
1035
1192
|
'has_already_connected_to_org' => HasAlreadyConnectedToOrg,
|
|
1036
1193
|
'hash_conflict' => HashConflict,
|
|
1194
|
+
'icon_not_accessible' => IconNotAccessible,
|
|
1037
1195
|
'inactive_call' => InactiveCall,
|
|
1038
1196
|
'inactive_invite' => InactiveInvite,
|
|
1039
1197
|
'include_deactivated_user_workspaces_invalid' => IncludeDeactivatedUserWorkspacesInvalid,
|
|
@@ -1051,6 +1209,7 @@ module Slack
|
|
|
1051
1209
|
'invalid_array_arg' => InvalidArrayArg,
|
|
1052
1210
|
'invalid_attachment' => InvalidAttachment,
|
|
1053
1211
|
'invalid_attachments' => InvalidAttachments,
|
|
1212
|
+
'invalid_audience' => InvalidAudience,
|
|
1054
1213
|
'invalid_auth' => InvalidAuth,
|
|
1055
1214
|
'invalid_blocks' => InvalidBlocks,
|
|
1056
1215
|
'invalid_blocks_format' => InvalidBlocksFormat,
|
|
@@ -1059,10 +1218,13 @@ module Slack
|
|
|
1059
1218
|
'invalid_channel' => InvalidChannel,
|
|
1060
1219
|
'invalid_channel_id' => InvalidChannelId,
|
|
1061
1220
|
'invalid_channel_provided' => InvalidChannelProvided,
|
|
1221
|
+
'invalid_channel_restriction_mode' => InvalidChannelRestrictionMode,
|
|
1062
1222
|
'invalid_channel_type' => InvalidChannelType,
|
|
1063
1223
|
'invalid_channels_limit' => InvalidChannelsLimit,
|
|
1064
1224
|
'invalid_charset' => InvalidCharset,
|
|
1065
1225
|
'invalid_child_type' => InvalidChildType,
|
|
1226
|
+
'invalid_chunks' => InvalidChunks,
|
|
1227
|
+
'invalid_client' => InvalidClient,
|
|
1066
1228
|
'invalid_client_id' => InvalidClientId,
|
|
1067
1229
|
'invalid_code' => InvalidCode,
|
|
1068
1230
|
'invalid_code_verifier' => InvalidCodeVerifier,
|
|
@@ -1079,17 +1241,21 @@ module Slack
|
|
|
1079
1241
|
'invalid_emoji' => InvalidEmoji,
|
|
1080
1242
|
'invalid_emoji_not_allowed' => InvalidEmojiNotAllowed,
|
|
1081
1243
|
'invalid_enterprise' => InvalidEnterprise,
|
|
1244
|
+
'invalid_entities' => InvalidEntities,
|
|
1082
1245
|
'invalid_entity_id' => InvalidEntityId,
|
|
1083
1246
|
'invalid_event_context' => InvalidEventContext,
|
|
1084
1247
|
'invalid_external_id' => InvalidExternalId,
|
|
1085
1248
|
'invalid_field_or_data' => InvalidFieldOrData,
|
|
1086
1249
|
'invalid_form_data' => InvalidFormData,
|
|
1250
|
+
'invalid_grant' => InvalidGrant,
|
|
1087
1251
|
'invalid_grant_type' => InvalidGrantType,
|
|
1088
1252
|
'invalid_group_provided' => InvalidGroupProvided,
|
|
1089
1253
|
'invalid_host_team' => InvalidHostTeam,
|
|
1254
|
+
'invalid_icon_size' => InvalidIconSize,
|
|
1090
1255
|
'invalid_input_type' => InvalidInputType,
|
|
1091
1256
|
'invalid_limit' => InvalidLimit,
|
|
1092
1257
|
'invalid_link' => InvalidLink,
|
|
1258
|
+
'invalid_manager_app' => InvalidManagerApp,
|
|
1093
1259
|
'invalid_manifest' => InvalidManifest,
|
|
1094
1260
|
'invalid_message' => InvalidMessage,
|
|
1095
1261
|
'invalid_metadata' => InvalidMetadata,
|
|
@@ -1104,9 +1270,10 @@ module Slack
|
|
|
1104
1270
|
'invalid_named_entities' => InvalidNamedEntities,
|
|
1105
1271
|
'invalid_ooo_message' => InvalidOooMessage,
|
|
1106
1272
|
'invalid_option_id' => InvalidOptionId,
|
|
1107
|
-
'invalid_org_id' => InvalidOrgId,
|
|
1108
1273
|
'invalid_parameters' => InvalidParameters,
|
|
1109
1274
|
'invalid_parent_type' => InvalidParentType,
|
|
1275
|
+
'invalid_permission' => InvalidPermission,
|
|
1276
|
+
'invalid_permission_set' => InvalidPermissionSet,
|
|
1110
1277
|
'invalid_permission_type' => InvalidPermissionType,
|
|
1111
1278
|
'invalid_permissions' => InvalidPermissions,
|
|
1112
1279
|
'invalid_phone_number' => InvalidPhoneNumber,
|
|
@@ -1119,6 +1286,7 @@ module Slack
|
|
|
1119
1286
|
'invalid_refresh_token' => InvalidRefreshToken,
|
|
1120
1287
|
'invalid_request' => InvalidRequest,
|
|
1121
1288
|
'invalid_request_id' => InvalidRequestId,
|
|
1289
|
+
'invalid_resource' => InvalidResource,
|
|
1122
1290
|
'invalid_restricted_subjects' => InvalidRestrictedSubjects,
|
|
1123
1291
|
'invalid_role_for_user' => InvalidRoleForUser,
|
|
1124
1292
|
'invalid_role_id' => InvalidRoleId,
|
|
@@ -1127,6 +1295,7 @@ module Slack
|
|
|
1127
1295
|
'invalid_schema' => InvalidSchema,
|
|
1128
1296
|
'invalid_scopes' => InvalidScopes,
|
|
1129
1297
|
'invalid_search_channel_type' => InvalidSearchChannelType,
|
|
1298
|
+
'invalid_sender_schema' => InvalidSenderSchema,
|
|
1130
1299
|
'invalid_setting' => InvalidSetting,
|
|
1131
1300
|
'invalid_shortcut_type' => InvalidShortcutType,
|
|
1132
1301
|
'invalid_sort' => InvalidSort,
|
|
@@ -1134,6 +1303,7 @@ module Slack
|
|
|
1134
1303
|
'invalid_source' => InvalidSource,
|
|
1135
1304
|
'invalid_start_time' => InvalidStartTime,
|
|
1136
1305
|
'invalid_starts_with_at' => InvalidStartsWithAt,
|
|
1306
|
+
'invalid_status' => InvalidStatus,
|
|
1137
1307
|
'invalid_target_team' => InvalidTargetTeam,
|
|
1138
1308
|
'invalid_team' => InvalidTeam,
|
|
1139
1309
|
'invalid_team_id' => InvalidTeamId,
|
|
@@ -1156,8 +1326,10 @@ module Slack
|
|
|
1156
1326
|
'invalid_user' => InvalidUser,
|
|
1157
1327
|
'invalid_user_combination' => InvalidUserCombination,
|
|
1158
1328
|
'invalid_user_id' => InvalidUserId,
|
|
1329
|
+
'invalid_usergroup' => InvalidUsergroup,
|
|
1159
1330
|
'invalid_users' => InvalidUsers,
|
|
1160
1331
|
'invalid_value' => InvalidValue,
|
|
1332
|
+
'invalid_view' => InvalidView,
|
|
1161
1333
|
'invalid_visibility' => InvalidVisibility,
|
|
1162
1334
|
'invalid_vote_value' => InvalidVoteValue,
|
|
1163
1335
|
'invalid_workflow_auth_strategy' => InvalidWorkflowAuthStrategy,
|
|
@@ -1192,13 +1364,20 @@ module Slack
|
|
|
1192
1364
|
'list_record_comment_fetch_failed' => ListRecordCommentFetchFailed,
|
|
1193
1365
|
'lists_disabled_user_team' => ListsDisabledUserTeam,
|
|
1194
1366
|
'malware_detected' => MalwareDetected,
|
|
1367
|
+
'managed_app_limit_reached' => ManagedAppLimitReached,
|
|
1195
1368
|
'managed_channel_not_supported' => ManagedChannelNotSupported,
|
|
1369
|
+
'manager_app_not_eligible' => ManagerAppNotEligible,
|
|
1196
1370
|
'markdown_text_conflict' => MarkdownTextConflict,
|
|
1371
|
+
'markdown_text_or_chunks_required' => MarkdownTextOrChunksRequired,
|
|
1372
|
+
'markdown_text_required' => MarkdownTextRequired,
|
|
1373
|
+
'max_file_sharing_exceeded' => MaxFileSharingExceeded,
|
|
1197
1374
|
'member_analytics_disabled' => MemberAnalyticsDisabled,
|
|
1375
|
+
'member_count_would_exceed_visible_limit' => MemberCountWouldExceedVisibleLimit,
|
|
1198
1376
|
'member_limit_exceeded' => MemberLimitExceeded,
|
|
1199
1377
|
'message_limit_exceeded' => MessageLimitExceeded,
|
|
1200
1378
|
'message_not_found' => MessageNotFound,
|
|
1201
1379
|
'message_not_in_streaming_state' => MessageNotInStreamingState,
|
|
1380
|
+
'message_not_owned_by_app' => MessageNotOwnedByApp,
|
|
1202
1381
|
'message_too_long' => MessageTooLong,
|
|
1203
1382
|
'messages_tab_disabled' => MessagesTabDisabled,
|
|
1204
1383
|
'messaging_processing_failed' => MessagingProcessingFailed,
|
|
@@ -1207,6 +1386,7 @@ module Slack
|
|
|
1207
1386
|
'metadata_only_does_not_support_date' => MetadataOnlyDoesNotSupportDate,
|
|
1208
1387
|
'metadata_too_large' => MetadataTooLarge,
|
|
1209
1388
|
'method_deprecated' => MethodDeprecated,
|
|
1389
|
+
'method_not_found' => MethodNotFound,
|
|
1210
1390
|
'method_not_supported' => MethodNotSupported,
|
|
1211
1391
|
'method_not_supported_for_channel_type' => MethodNotSupportedForChannelType,
|
|
1212
1392
|
'migration_in_progress' => MigrationInProgress,
|
|
@@ -1215,6 +1395,8 @@ module Slack
|
|
|
1215
1395
|
'missing_argument' => MissingArgument,
|
|
1216
1396
|
'missing_arguments' => MissingArguments,
|
|
1217
1397
|
'missing_channel' => MissingChannel,
|
|
1398
|
+
'missing_comment_data' => MissingCommentData,
|
|
1399
|
+
'missing_delete_action_id' => MissingDeleteActionId,
|
|
1218
1400
|
'missing_dialog' => MissingDialog,
|
|
1219
1401
|
'missing_duration' => MissingDuration,
|
|
1220
1402
|
'missing_file_data' => MissingFileData,
|
|
@@ -1233,13 +1415,16 @@ module Slack
|
|
|
1233
1415
|
'missing_subteam_name' => MissingSubteamName,
|
|
1234
1416
|
'missing_target_team' => MissingTargetTeam,
|
|
1235
1417
|
'missing_team' => MissingTeam,
|
|
1418
|
+
'missing_thread_ts' => MissingThreadTs,
|
|
1236
1419
|
'missing_trigger' => MissingTrigger,
|
|
1237
1420
|
'missing_ts' => MissingTs,
|
|
1238
1421
|
'missing_unfurl_id' => MissingUnfurlId,
|
|
1239
1422
|
'missing_unfurls' => MissingUnfurls,
|
|
1240
1423
|
'missing_user' => MissingUser,
|
|
1241
1424
|
'msg_blocks_too_long' => MsgBlocksTooLong,
|
|
1425
|
+
'msg_blocks_too_many' => MsgBlocksTooMany,
|
|
1242
1426
|
'msg_too_long' => MsgTooLong,
|
|
1427
|
+
'multi_workspace_restriction' => MultiWorkspaceRestriction,
|
|
1243
1428
|
'must_clear_both_status_text_and_status_emoji' => MustClearBothStatusTextAndStatusEmoji,
|
|
1244
1429
|
'must_provide_team_domain' => MustProvideTeamDomain,
|
|
1245
1430
|
'must_provide_team_name' => MustProvideTeamName,
|
|
@@ -1253,6 +1438,9 @@ module Slack
|
|
|
1253
1438
|
'no_access' => NoAccess,
|
|
1254
1439
|
'no_active_sessions' => NoActiveSessions,
|
|
1255
1440
|
'no_alias_selected' => NoAliasSelected,
|
|
1441
|
+
'no_app_scopes_requested' => NoAppScopesRequested,
|
|
1442
|
+
'no_approved_scopes_requested' => NoApprovedScopesRequested,
|
|
1443
|
+
'no_assertion' => NoAssertion,
|
|
1256
1444
|
'no_bot_user_for_app' => NoBotUserForApp,
|
|
1257
1445
|
'no_channel' => NoChannel,
|
|
1258
1446
|
'no_channel_memberships' => NoChannelMemberships,
|
|
@@ -1265,6 +1453,7 @@ module Slack
|
|
|
1265
1453
|
'no_permission' => NoPermission,
|
|
1266
1454
|
'no_perms' => NoPerms,
|
|
1267
1455
|
'no_pin' => NoPin,
|
|
1456
|
+
'no_query' => NoQuery,
|
|
1268
1457
|
'no_reaction' => NoReaction,
|
|
1269
1458
|
'no_refresh_token' => NoRefreshToken,
|
|
1270
1459
|
'no_resolution_found' => NoResolutionFound,
|
|
@@ -1276,6 +1465,7 @@ module Slack
|
|
|
1276
1465
|
'no_text' => NoText,
|
|
1277
1466
|
'no_tokens_found' => NoTokensFound,
|
|
1278
1467
|
'no_user' => NoUser,
|
|
1468
|
+
'no_user_scopes' => NoUserScopes,
|
|
1279
1469
|
'no_users_provided' => NoUsersProvided,
|
|
1280
1470
|
'no_valid_channels' => NoValidChannels,
|
|
1281
1471
|
'no_valid_entities' => NoValidEntities,
|
|
@@ -1283,8 +1473,10 @@ module Slack
|
|
|
1283
1473
|
'no_valid_teams' => NoValidTeams,
|
|
1284
1474
|
'no_valid_users' => NoValidUsers,
|
|
1285
1475
|
'not_admin' => NotAdmin,
|
|
1476
|
+
'not_agent_app' => NotAgentApp,
|
|
1286
1477
|
'not_allowed' => NotAllowed,
|
|
1287
1478
|
'not_allowed_for_grid_workspace' => NotAllowedForGridWorkspace,
|
|
1479
|
+
'not_allowed_to_create_automation_rule' => NotAllowedToCreateAutomationRule,
|
|
1288
1480
|
'not_allowed_token_type' => NotAllowedTokenType,
|
|
1289
1481
|
'not_an_admin' => NotAnAdmin,
|
|
1290
1482
|
'not_an_enterprise' => NotAnEnterprise,
|
|
@@ -1311,6 +1503,7 @@ module Slack
|
|
|
1311
1503
|
'not_supported' => NotSupported,
|
|
1312
1504
|
'not_visible' => NotVisible,
|
|
1313
1505
|
'oauth_authorization_url_mismatch' => OauthAuthorizationUrlMismatch,
|
|
1506
|
+
'oauth_metadata_not_found' => OauthMetadataNotFound,
|
|
1314
1507
|
'one_or_more_invalid_channels' => OneOrMoreInvalidChannels,
|
|
1315
1508
|
'org_level_email_display_disabled' => OrgLevelEmailDisplayDisabled,
|
|
1316
1509
|
'org_login_required' => OrgLoginRequired,
|
|
@@ -1343,6 +1536,7 @@ module Slack
|
|
|
1343
1536
|
'preview_feature_not_available' => PreviewFeatureNotAvailable,
|
|
1344
1537
|
'primary_usergroup_not_found' => PrimaryUsergroupNotFound,
|
|
1345
1538
|
'profile_set_failed' => ProfileSetFailed,
|
|
1539
|
+
'property_not_allowed' => PropertyNotAllowed,
|
|
1346
1540
|
'providers_not_found' => ProvidersNotFound,
|
|
1347
1541
|
'public_file_type_not_allowed' => PublicFileTypeNotAllowed,
|
|
1348
1542
|
'public_video_not_allowed' => PublicVideoNotAllowed,
|
|
@@ -1354,13 +1548,16 @@ module Slack
|
|
|
1354
1548
|
'ratelimited' => Ratelimited,
|
|
1355
1549
|
'recipients_not_specified' => RecipientsNotSpecified,
|
|
1356
1550
|
'record_channel_already_exists' => RecordChannelAlreadyExists,
|
|
1551
|
+
'record_channel_cannot_be_externally_shared' => RecordChannelCannotBeExternallyShared,
|
|
1357
1552
|
'record_deleted' => RecordDeleted,
|
|
1358
1553
|
'record_not_found' => RecordNotFound,
|
|
1359
1554
|
'request_already_resolved' => RequestAlreadyResolved,
|
|
1360
1555
|
'request_id_or_app_id_is_required' => RequestIdOrAppIdIsRequired,
|
|
1361
1556
|
'request_id_required_for_custom_integrations' => RequestIdRequiredForCustomIntegrations,
|
|
1362
1557
|
'request_timeout' => RequestTimeout,
|
|
1558
|
+
'required_visibility' => RequiredVisibility,
|
|
1363
1559
|
'reserved_name' => ReservedName,
|
|
1560
|
+
'reserved_username' => ReservedUsername,
|
|
1364
1561
|
'resized_but_still_too_large' => ResizedButStillTooLarge,
|
|
1365
1562
|
'restricted_action' => RestrictedAction,
|
|
1366
1563
|
'restricted_action_non_threadable_channel' => RestrictedActionNonThreadableChannel,
|
|
@@ -1370,10 +1567,15 @@ module Slack
|
|
|
1370
1567
|
'restricted_plan_level' => RestrictedPlanLevel,
|
|
1371
1568
|
'restricted_too_many' => RestrictedTooMany,
|
|
1372
1569
|
'retention_override_not_allowed' => RetentionOverrideNotAllowed,
|
|
1570
|
+
'rotation_not_found' => RotationNotFound,
|
|
1373
1571
|
'row_id_not_provided' => RowIdNotProvided,
|
|
1374
1572
|
'row_not_found' => RowNotFound,
|
|
1375
1573
|
'rtm_connect_required' => RtmConnectRequired,
|
|
1574
|
+
'send_on_behalf_not_allowed' => SendOnBehalfNotAllowed,
|
|
1376
1575
|
'sent_recently' => SentRecently,
|
|
1576
|
+
'server_acl_entities_not_in_scope' => ServerAclEntitiesNotInScope,
|
|
1577
|
+
'server_acl_type_broader_than_app' => ServerAclTypeBroaderThanApp,
|
|
1578
|
+
'server_not_found' => ServerNotFound,
|
|
1377
1579
|
'service_unavailable' => ServiceUnavailable,
|
|
1378
1580
|
'session_invalidation_failed' => SessionInvalidationFailed,
|
|
1379
1581
|
'session_not_found' => SessionNotFound,
|
|
@@ -1388,8 +1590,12 @@ module Slack
|
|
|
1388
1590
|
'snippet_too_large' => SnippetTooLarge,
|
|
1389
1591
|
'snooze_end_failed' => SnoozeEndFailed,
|
|
1390
1592
|
'snooze_failed' => SnoozeFailed,
|
|
1593
|
+
'socket_mode_not_enabled' => SocketModeNotEnabled,
|
|
1391
1594
|
'specify_enterprise_or_teams' => SpecifyEnterpriseOrTeams,
|
|
1595
|
+
'static_prompts_configured' => StaticPromptsConfigured,
|
|
1596
|
+
'stopped_by_user' => StoppedByUser,
|
|
1392
1597
|
'storage_limit_reached' => StorageLimitReached,
|
|
1598
|
+
'streaming_mode_mismatch' => StreamingModeMismatch,
|
|
1393
1599
|
'streaming_state_conflict' => StreamingStateConflict,
|
|
1394
1600
|
'subteam_max_users_exceeded' => SubteamMaxUsersExceeded,
|
|
1395
1601
|
'sudo_required' => SudoRequired,
|
|
@@ -1399,6 +1605,7 @@ module Slack
|
|
|
1399
1605
|
'team_added_to_org' => TeamAddedToOrg,
|
|
1400
1606
|
'team_id_or_org_required' => TeamIdOrOrgRequired,
|
|
1401
1607
|
'team_id_required_for_enterprise' => TeamIdRequiredForEnterprise,
|
|
1608
|
+
'team_limit_exceeded' => TeamLimitExceeded,
|
|
1402
1609
|
'team_not_connected' => TeamNotConnected,
|
|
1403
1610
|
'team_not_found' => TeamNotFound,
|
|
1404
1611
|
'team_not_on_enterprise' => TeamNotOnEnterprise,
|
|
@@ -1408,6 +1615,8 @@ module Slack
|
|
|
1408
1615
|
'template_not_visible' => TemplateNotVisible,
|
|
1409
1616
|
'thread_locked' => ThreadLocked,
|
|
1410
1617
|
'thread_not_found' => ThreadNotFound,
|
|
1618
|
+
'thread_ts_not_allowed' => ThreadTsNotAllowed,
|
|
1619
|
+
'thread_ts_required' => ThreadTsRequired,
|
|
1411
1620
|
'time_in_past' => TimeInPast,
|
|
1412
1621
|
'time_too_far' => TimeTooFar,
|
|
1413
1622
|
'token_already_exchanged' => TokenAlreadyExchanged,
|
|
@@ -1415,10 +1624,12 @@ module Slack
|
|
|
1415
1624
|
'token_not_found' => TokenNotFound,
|
|
1416
1625
|
'token_revoked' => TokenRevoked,
|
|
1417
1626
|
'token_rotation_not_enabled' => TokenRotationNotEnabled,
|
|
1627
|
+
'token_too_long' => TokenTooLong,
|
|
1418
1628
|
'too_large' => TooLarge,
|
|
1419
1629
|
'too_long' => TooLong,
|
|
1420
1630
|
'too_many_attachments' => TooManyAttachments,
|
|
1421
1631
|
'too_many_bookmarks' => TooManyBookmarks,
|
|
1632
|
+
'too_many_channels' => TooManyChannels,
|
|
1422
1633
|
'too_many_contact_cards' => TooManyContactCards,
|
|
1423
1634
|
'too_many_domains_provided' => TooManyDomainsProvided,
|
|
1424
1635
|
'too_many_emails' => TooManyEmails,
|
|
@@ -1431,11 +1642,14 @@ module Slack
|
|
|
1431
1642
|
'too_many_members' => TooManyMembers,
|
|
1432
1643
|
'too_many_named_entities' => TooManyNamedEntities,
|
|
1433
1644
|
'too_many_pins' => TooManyPins,
|
|
1645
|
+
'too_many_properties' => TooManyProperties,
|
|
1434
1646
|
'too_many_reactions' => TooManyReactions,
|
|
1647
|
+
'too_many_requests' => TooManyRequests,
|
|
1435
1648
|
'too_many_tabs' => TooManyTabs,
|
|
1436
1649
|
'too_many_target_teams' => TooManyTargetTeams,
|
|
1437
1650
|
'too_many_teams' => TooManyTeams,
|
|
1438
1651
|
'too_many_teams_provided' => TooManyTeamsProvided,
|
|
1652
|
+
'too_many_usergroup_members_to_make_visible' => TooManyUsergroupMembersToMakeVisible,
|
|
1439
1653
|
'too_many_users' => TooManyUsers,
|
|
1440
1654
|
'trigger_exchanged' => TriggerExchanged,
|
|
1441
1655
|
'trigger_expired' => TriggerExpired,
|
|
@@ -1445,7 +1659,10 @@ module Slack
|
|
|
1445
1659
|
'unable_to_delete' => UnableToDelete,
|
|
1446
1660
|
'unable_to_fetch_custom_emojis' => UnableToFetchCustomEmojis,
|
|
1447
1661
|
'unable_to_link_idp_group_and_channel' => UnableToLinkIdpGroupAndChannel,
|
|
1662
|
+
'unable_to_open_file' => UnableToOpenFile,
|
|
1663
|
+
'unable_to_parse_csv' => UnableToParseCsv,
|
|
1448
1664
|
'unable_to_process_post_request' => UnableToProcessPostRequest,
|
|
1665
|
+
'unable_to_share_files' => UnableToShareFiles,
|
|
1449
1666
|
'unable_to_unlink_idp_group_and_channel' => UnableToUnlinkIdpGroupAndChannel,
|
|
1450
1667
|
'unable_to_update_existing_sessions' => UnableToUpdateExistingSessions,
|
|
1451
1668
|
'uneditable_column' => UneditableColumn,
|
|
@@ -1462,6 +1679,7 @@ module Slack
|
|
|
1462
1679
|
'unsupported_action_describe' => UnsupportedActionDescribe,
|
|
1463
1680
|
'unsupported_action_put' => UnsupportedActionPut,
|
|
1464
1681
|
'unsupported_arguments' => UnsupportedArguments,
|
|
1682
|
+
'unsupported_grant_type' => UnsupportedGrantType,
|
|
1465
1683
|
'unsupported_team_type' => UnsupportedTeamType,
|
|
1466
1684
|
'update_failed' => UpdateFailed,
|
|
1467
1685
|
'ura_max_channels' => UraMaxChannels,
|
|
@@ -1470,20 +1688,24 @@ module Slack
|
|
|
1470
1688
|
'user_already_deleted' => UserAlreadyDeleted,
|
|
1471
1689
|
'user_already_team_member' => UserAlreadyTeamMember,
|
|
1472
1690
|
'user_auth_url_missing' => UserAuthUrlMissing,
|
|
1691
|
+
'user_cannot_be_added_to_workspace' => UserCannotBeAddedToWorkspace,
|
|
1473
1692
|
'user_cannot_create_channel' => UserCannotCreateChannel,
|
|
1474
1693
|
'user_cannot_manage_public_channels' => UserCannotManagePublicChannels,
|
|
1475
1694
|
'user_cannot_manage_workspace' => UserCannotManageWorkspace,
|
|
1695
|
+
'user_channel_limit_exceeded' => UserChannelLimitExceeded,
|
|
1476
1696
|
'user_disabled' => UserDisabled,
|
|
1477
1697
|
'user_does_not_own_channel' => UserDoesNotOwnChannel,
|
|
1478
1698
|
'user_email_unverified' => UserEmailUnverified,
|
|
1479
1699
|
'user_is_already_deleted' => UserIsAlreadyDeleted,
|
|
1480
1700
|
'user_is_bot' => UserIsBot,
|
|
1481
1701
|
'user_is_deactivated' => UserIsDeactivated,
|
|
1702
|
+
'user_is_external_guest' => UserIsExternalGuest,
|
|
1482
1703
|
'user_is_not_a_guest' => UserIsNotAGuest,
|
|
1483
1704
|
'user_is_not_guest' => UserIsNotGuest,
|
|
1484
1705
|
'user_is_restricted' => UserIsRestricted,
|
|
1485
1706
|
'user_must_be_admin' => UserMustBeAdmin,
|
|
1486
1707
|
'user_must_be_in_workspace' => UserMustBeInWorkspace,
|
|
1708
|
+
'user_not_authenticated' => UserNotAuthenticated,
|
|
1487
1709
|
'user_not_found' => UserNotFound,
|
|
1488
1710
|
'user_not_in_channel' => UserNotInChannel,
|
|
1489
1711
|
'user_not_visible' => UserNotVisible,
|
|
@@ -1498,7 +1720,9 @@ module Slack
|
|
|
1498
1720
|
'validation_errors' => ValidationErrors,
|
|
1499
1721
|
'view_too_large' => ViewTooLarge,
|
|
1500
1722
|
'visibility_is_not_named_entities' => VisibilityIsNotNamedEntities,
|
|
1723
|
+
'visible_group_needs_handle' => VisibleGroupNeedsHandle,
|
|
1501
1724
|
'workflows_export_csv_not_enabled' => WorkflowsExportCsvNotEnabled,
|
|
1725
|
+
'workspace_not_eligible' => WorkspaceNotEligible,
|
|
1502
1726
|
}.freeze
|
|
1503
1727
|
end
|
|
1504
1728
|
end
|