@slack/web-api
Advanced tools
Comparing version 5.5.0 to 5.6.0
@@ -50,2 +50,19 @@ /// <reference types="node" /> | ||
} | ||
export interface AdminInviteRequestsApproveArguments extends WebAPICallOptions, TokenOverridable { | ||
invite_request_id: string; | ||
team_id: string; | ||
} | ||
export interface AdminInviteRequestsDenyArguments extends WebAPICallOptions, TokenOverridable { | ||
invite_request_id: string; | ||
team_id: string; | ||
} | ||
export interface AdminInviteRequestsListArguments extends WebAPICallOptions, TokenOverridable, CursorPaginationEnabled { | ||
team_id: string; | ||
} | ||
export interface AdminInviteRequestsApprovedListArguments extends WebAPICallOptions, TokenOverridable, CursorPaginationEnabled { | ||
team_id: string; | ||
} | ||
export interface AdminInviteRequestsDeniedListArguments extends WebAPICallOptions, TokenOverridable, CursorPaginationEnabled { | ||
team_id: string; | ||
} | ||
export interface AdminTeamsAdminsListArguments extends WebAPICallOptions, TokenOverridable, CursorPaginationEnabled { | ||
@@ -52,0 +69,0 @@ team_id: string; |
@@ -98,2 +98,13 @@ /// <reference types="node" /> | ||
}; | ||
inviteRequests: { | ||
approve: Method<methods.AdminInviteRequestsApproveArguments>; | ||
deny: Method<methods.AdminInviteRequestsDenyArguments>; | ||
list: Method<methods.AdminInviteRequestsListArguments>; | ||
approved: { | ||
list: Method<methods.AdminInviteRequestsApprovedListArguments>; | ||
}; | ||
denied: { | ||
list: Method<methods.AdminInviteRequestsDeniedListArguments>; | ||
}; | ||
}; | ||
teams: { | ||
@@ -100,0 +111,0 @@ admins: { |
@@ -75,2 +75,13 @@ "use strict"; | ||
}, | ||
inviteRequests: { | ||
approve: (this.apiCall.bind(this, 'admin.inviteRequests.approve')), | ||
deny: (this.apiCall.bind(this, 'admin.inviteRequests.deny')), | ||
list: (this.apiCall.bind(this, 'admin.inviteRequests.list')), | ||
approved: { | ||
list: (this.apiCall.bind(this, 'admin.inviteRequests.approved.list')), | ||
}, | ||
denied: { | ||
list: (this.apiCall.bind(this, 'admin.inviteRequests.denied.list')), | ||
}, | ||
}, | ||
teams: { | ||
@@ -77,0 +88,0 @@ admins: { |
{ | ||
"name": "@slack/web-api", | ||
"version": "5.5.0", | ||
"version": "5.6.0", | ||
"description": "Official library for using the Slack Platform's Web API", | ||
@@ -75,3 +75,3 @@ "author": "Slack Technologies, Inc.", | ||
}, | ||
"gitHead": "1503609d79abf035e9e21bad7360e124e4211594" | ||
"gitHead": "bc2f0d72b0466c202f2c13623c972f1b50a4699d" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
169293
2262
1