@slack/web-api
Advanced tools
Comparing version 7.3.0 to 7.3.1-inviteautomation.1
@@ -8,3 +8,3 @@ import { OptionalArgument } from '../helpers'; | ||
interface ChannelID { | ||
/** @description ID of the channel that you'd like to accept. Must provide either `invite_id` or `channel_id`. */ | ||
/** @description ID of the channel. */ | ||
channel_id: string; | ||
@@ -29,3 +29,3 @@ } | ||
} | ||
interface Message extends Channel { | ||
interface MessageSpecifier extends Channel { | ||
/** @description Unique identifier of message. */ | ||
@@ -109,3 +109,3 @@ ts: string; | ||
}>; | ||
export interface ConversationsMarkArguments extends Message, TokenOverridable { | ||
export interface ConversationsMarkArguments extends MessageSpecifier, TokenOverridable { | ||
} | ||
@@ -127,4 +127,25 @@ export interface ConversationsMembersArguments extends Channel, TokenOverridable, CursorPaginationEnabled { | ||
} | ||
export interface ConversationsRepliesArguments extends Message, IncludeAllMetadata, TokenOverridable, CursorPaginationEnabled, TimelinePaginationEnabled { | ||
export interface ConversationsRepliesArguments extends MessageSpecifier, IncludeAllMetadata, TokenOverridable, CursorPaginationEnabled, TimelinePaginationEnabled { | ||
} | ||
export interface ConversationsRequestSharedInviteApproveArguments extends InviteID, Partial<ChannelID> { | ||
/** | ||
* @description Whether the invited team will have post-only permissions in the channel. | ||
* Will override the value on the requested invite. | ||
*/ | ||
is_external_limited?: boolean; | ||
/** @description Optional additional messaging to attach to the invite approval message. */ | ||
message?: { | ||
/** | ||
* @description When `true`, will override the user specified message. Otherwise, `text` will be appended to the | ||
* user specified message on the invite request. | ||
*/ | ||
is_override: boolean; | ||
/** @description Text to include along with the email invite. */ | ||
text: string; | ||
}; | ||
} | ||
export interface ConversationsRequestSharedInviteDenyArguments extends InviteID { | ||
/** @description A message explaining the denial to send to the user who requested the invite. */ | ||
message?: string; | ||
} | ||
export interface ConversationsSetPurposeArguments extends Channel, TokenOverridable { | ||
@@ -131,0 +152,0 @@ /** @description A new, specialer purpose. */ |
@@ -1,43 +0,43 @@ | ||
export type * from './workflows'; | ||
export type * from './views'; | ||
export type * from './users'; | ||
export type * from './tooling'; | ||
export type * from './search'; | ||
export type * from './usergroups'; | ||
export type * from './team'; | ||
export type * from './stars'; | ||
export type * from './rtm'; | ||
export type * from './reminders'; | ||
export type * from './reactions'; | ||
export type * from './pins'; | ||
export type * from './openid'; | ||
export type * from './oauth'; | ||
export type * from './migration'; | ||
export type * from './files'; | ||
export type * from './emoji'; | ||
export type * from './dnd'; | ||
export type * from './dialog'; | ||
export type * from './conversations'; | ||
export type * from './chat'; | ||
export type * from './canvas'; | ||
export type * from './calls'; | ||
export type * from './bots'; | ||
export type * from './bookmarks'; | ||
export type * from './auth'; | ||
export type * from './apps'; | ||
export type * from './api'; | ||
export type * from './admin/analytics'; | ||
export type * from './admin/apps'; | ||
export type * from './admin/auth'; | ||
export type * from './admin/barriers'; | ||
export type * from './admin/conversations'; | ||
export type * from './admin/emoji'; | ||
export type * from './admin/functions'; | ||
export type * from './functions'; | ||
export type * from './admin/inviteRequests'; | ||
export type * from './admin/roles'; | ||
export type * from './admin/teams'; | ||
export type * from './admin/usergroups'; | ||
export type * from './admin/users'; | ||
export type * from './admin/workflows'; | ||
export type { WorkflowsStepCompletedArguments, WorkflowsStepFailedArguments, WorkflowsUpdateStepArguments } from './workflows'; | ||
export type { ViewsUpdateArguments, ViewsOpenArguments, ViewsPushArguments, ViewsPublishArguments } from './views'; | ||
export type { UsersConversationsArguments, UsersDiscoverableContactsLookupArguments, UsersInfoArguments, UsersListArguments, UsersIdentityArguments, UsersSetPhotoArguments, UsersProfileGetArguments, UsersProfileSetArguments, UsersDeletePhotoArguments, UsersGetPresenceArguments, UsersSetPresenceArguments, UsersLookupByEmailArguments } from './users'; | ||
export type { ToolingTokensRotateArguments } from './tooling'; | ||
export type { SearchAllArguments, SearchFilesArguments, SearchMessagesArguments } from './search'; | ||
export type { UsergroupsCreateArguments, UsergroupsDisableArguments, UsergroupsEnableArguments, UsergroupsListArguments, UsergroupsUpdateArguments, UsergroupsUsersListArguments, UsergroupsUsersUpdateArguments } from './usergroups'; | ||
export type { TeamAccessLogsArguments, TeamBillableInfoArguments, TeamBillingInfoArguments, TeamExternalTeamsDisconnectArguments, TeamExternalTeamsListArguments, TeamInfoArguments, TeamIntegrationLogsArguments, TeamPreferencesListArguments, TeamProfileGetArguments } from './team'; | ||
export type { StarsAddRemoveArguments, StarsListArguments } from './stars'; | ||
export type { RTMConnectArguments, RTMStartArguments } from './rtm'; | ||
export type { RemindersAddArguments, RemindersInfoArguments, RemindersListArguments, RemindersDeleteArguments, RemindersCompleteArguments } from './reminders'; | ||
export type { ReactionsAddArguments, ReactionsGetArguments, ReactionsListArguments, ReactionsRemoveArguments } from './reactions'; | ||
export type { PinsAddArguments, PinsListArguments, PinsRemoveArguments } from './pins'; | ||
export type { OpenIDConnectTokenArguments, OpenIDConnectUserInfoArguments } from './openid'; | ||
export type { OAuthAccessArguments, OAuthV2AccessArguments, OAuthV2ExchangeArguments } from './oauth'; | ||
export type { MigrationExchangeArguments } from './migration'; | ||
export type { FilesDeleteArguments, FilesInfoArguments, FilesListArguments, FilesRevokePublicURLArguments, FilesSharedPublicURLArguments, FilesUploadArguments, FilesUploadV2Arguments, FilesCompleteUploadExternalArguments, FilesGetUploadURLExternalArguments, FilesCommentsDeleteArguments, FilesRemoteUpdateArguments, FilesRemoteRemoveArguments, FilesRemoteShareArguments, FilesRemoteListArguments, FilesRemoteInfoArguments, FilesRemoteAddArguments } from './files'; | ||
export type { EmojiListArguments } from './emoji'; | ||
export type { DndEndDndArguments, DndEndSnoozeArguments, DndInfoArguments, DndSetSnoozeArguments, DndTeamInfoArguments } from './dnd'; | ||
export type { DialogOpenArguments } from './dialog'; | ||
export type { ConversationsAcceptSharedInviteArguments, ConversationsApproveSharedInviteArguments, ConversationsArchiveArguments, ConversationsCloseArguments, ConversationsCreateArguments, ConversationsDeclineSharedInviteArguments, ConversationsExternalInvitePermissionsSetArguments, ConversationsHistoryArguments, ConversationsInfoArguments, ConversationsInviteArguments, ConversationsInviteSharedArguments, ConversationsJoinArguments, ConversationsKickArguments, ConversationsLeaveArguments, ConversationsListArguments, ConversationsListConnectInvitesArguments, ConversationsMarkArguments, ConversationsMembersArguments, ConversationsOpenArguments, ConversationsRenameArguments, ConversationsRepliesArguments, ConversationsRequestSharedInviteApproveArguments, ConversationsRequestSharedInviteDenyArguments, ConversationsSetPurposeArguments, ConversationsSetTopicArguments, ConversationsUnarchiveArguments } from './conversations'; | ||
export type { ChatDeleteArguments, ChatDeleteScheduledMessageArguments, ChatGetPermalinkArguments, ChatMeMessageArguments, ChatPostEphemeralArguments, ChatPostMessageArguments, ChatScheduleMessageArguments, ChatScheduledMessagesListArguments, ChatUnfurlArguments, ChatUpdateArguments } from './chat'; | ||
export type { CanvasesAccessDeleteArguments, CanvasesAccessSetArguments, CanvasesCreateArguments, CanvasesDeleteArguments, CanvasesEditArguments, CanvasesSectionsLookupArguments, ConversationsCanvasesCreateArguments } from './canvas'; | ||
export type { CallsAddArguments, CallsEndArguments, CallsInfoArguments, CallsUpdateArguments, CallsParticipantsAddArguments, CallsParticipantsRemoveArguments } from './calls'; | ||
export type { BotsInfoArguments } from './bots'; | ||
export type { BookmarksAddArguments, BookmarksEditArguments, BookmarksListArguments, BookmarksRemoveArguments } from './bookmarks'; | ||
export type { AuthRevokeArguments, AuthTestArguments, AuthTeamsListArguments } from './auth'; | ||
export type { AppsConnectionsOpenArguments, AppsEventAuthorizationsListArguments, AppsManifestCreateArguments, AppsManifestDeleteArguments, AppsManifestExportArguments, AppsManifestUpdateArguments, AppsManifestValidateArguments, AppsUninstallArguments } from './apps'; | ||
export type { APITestArguments } from './api'; | ||
export type { AdminAnalyticsGetFileArguments } from './admin/analytics'; | ||
export type { AdminAppsActivitiesListArguments, AdminAppsApproveArguments, AdminAppsApprovedListArguments, AdminAppsClearResolutionArguments, AdminAppsConfigLookupArguments, AdminAppsConfigSetArguments, AdminAppsRequestsCancelArguments, AdminAppsRequestsListArguments, AdminAppsRestrictArguments, AdminAppsRestrictedListArguments, AdminAppsUninstallArguments } from './admin/apps'; | ||
export type { AdminAuthPolicyAssignEntitiesArguments, AdminAuthPolicyGetEntitiesArguments, AdminAuthPolicyRemoveEntitiesArguments } from './admin/auth'; | ||
export type { AdminBarriersCreateArguments, AdminBarriersDeleteArguments, AdminBarriersListArguments, AdminBarriersUpdateArguments } from './admin/barriers'; | ||
export type { AdminConversationsArchiveArguments, AdminConversationsBulkArchiveArguments, AdminConversationsBulkDeleteArguments, AdminConversationsBulkMoveArguments, AdminConversationsConvertToPrivateArguments, AdminConversationsConvertToPublicArguments, AdminConversationsCreateArguments, AdminConversationsDeleteArguments, AdminConversationsDisconnectSharedArguments, AdminConversationsEKMListOriginalConnectedChannelInfoArguments, AdminConversationsGetConversationPrefsArguments, AdminConversationsGetCustomRetentionArguments, AdminConversationsGetTeamsArguments, AdminConversationsInviteArguments, AdminConversationsLookupArguments, AdminConversationsRemoveCustomRetentionArguments, AdminConversationsRenameArguments, AdminConversationsRestrictAccessAddGroupArguments, AdminConversationsRestrictAccessListGroupsArguments, AdminConversationsRestrictAccessRemoveGroupArguments, AdminConversationsSearchArguments, AdminConversationsSetConversationPrefsArguments, AdminConversationsSetCustomRetentionArguments, AdminConversationsSetTeamsArguments, AdminConversationsUnarchiveArguments } from './admin/conversations'; | ||
export type { AdminEmojiAddArguments, AdminEmojiAddAliasArguments, AdminEmojiListArguments, AdminEmojiRemoveArguments, AdminEmojiRenameArguments } from './admin/emoji'; | ||
export type { AdminFunctionsListArguments, AdminFunctionsPermissionsLookupArguments, AdminFunctionsPermissionsSetArguments } from './admin/functions'; | ||
export type { FunctionsCompleteErrorArguments, FunctionsCompleteSuccessArguments } from './functions'; | ||
export type { AdminInviteRequestsApproveArguments, AdminInviteRequestsApprovedListArguments, AdminInviteRequestsDeniedListArguments, AdminInviteRequestsDenyArguments, AdminInviteRequestsListArguments } from './admin/inviteRequests'; | ||
export type { AdminRolesAddAssignmentsArguments, AdminRolesListAssignmentsArguments, AdminRolesRemoveAssignmentsArguments } from './admin/roles'; | ||
export type { AdminTeamsAdminsListArguments, AdminTeamsCreateArguments, AdminTeamsListArguments, AdminTeamsOwnersListArguments, AdminTeamsSettingsInfoArguments, AdminTeamsSettingsSetDefaultChannelsArguments, AdminTeamsSettingsSetDescriptionArguments, AdminTeamsSettingsSetDiscoverabilityArguments, AdminTeamsSettingsSetIconArguments, AdminTeamsSettingsSetNameArguments } from './admin/teams'; | ||
export type { AdminUsergroupsAddChannelsArguments, AdminUsergroupsAddTeamsArguments, AdminUsergroupsListChannelsArguments, AdminUsergroupsRemoveChannelsArguments } from './admin/usergroups'; | ||
export type { AdminUsersAssignArguments, AdminUsersInviteArguments, AdminUsersListArguments, AdminUsersRemoveArguments, AdminUsersSessionListArguments, AdminUsersSessionClearSettingsArguments, AdminUsersSessionGetSettingsArguments, AdminUsersSessionInvalidateArguments, AdminUsersSessionResetArguments, AdminUsersSessionResetBulkArguments, AdminUsersSessionSetSettingsArguments, AdminUsersSetAdminArguments, AdminUsersSetExpirationArguments, AdminUsersSetOwnerArguments, AdminUsersSetRegularArguments, AdminUsersUnsupportedVersionsExportArguments } from './admin/users'; | ||
export type { AdminWorkflowsCollaboratorsAddArguments, AdminWorkflowsCollaboratorsRemoveArguments, AdminWorkflowsPermissionsLookupArguments, AdminWorkflowsSearchArguments, AdminWorkflowsUnpublishArguments } from './admin/workflows'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -181,2 +181,4 @@ export { AdminAnalyticsGetFileResponse, AdminAnalyticsMemberDetails, AdminAnalyticsPublicChannelDetails, AdminAnalyticsPublicChannelMetadataDetails } from './AdminAnalyticsGetFileResponse'; | ||
export { ConversationsRepliesResponse } from './ConversationsRepliesResponse'; | ||
export { ConversationsRequestSharedInviteApproveResponse } from './ConversationsRequestSharedInviteApproveResponse'; | ||
export { ConversationsRequestSharedInviteDenyResponse } from './ConversationsRequestSharedInviteDenyResponse'; | ||
export { ConversationsSetPurposeResponse } from './ConversationsSetPurposeResponse'; | ||
@@ -183,0 +185,0 @@ export { ConversationsSetTopicResponse } from './ConversationsSetTopicResponse'; |
{ | ||
"name": "@slack/web-api", | ||
"version": "7.3.0", | ||
"version": "7.3.1-inviteautomation.1", | ||
"description": "Official library for using the Slack Platform's Web API", | ||
@@ -42,3 +42,4 @@ "author": "Slack Technologies, LLC", | ||
"test": "npm run lint && npm run test:types && npm run test:integration && npm run test:unit", | ||
"test:integration": "npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs", | ||
"test:integration": "npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts", | ||
"test:integration:ts": "cd test/integration/ts-4.7-project && npm i && npm run build", | ||
"test:unit": "npm run build && c8 npm run mocha", | ||
@@ -45,0 +46,0 @@ "test:types": "tsd", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2541448
1443
38869
1