Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@slack/web-api

Package Overview
Dependencies
22
Maintainers
13
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.9.0 to 5.10.0

29

dist/methods.d.ts
/// <reference types="node" />
import { Stream } from 'stream';
import { Dialog, View, KnownBlock, Block, MessageAttachment, LinkUnfurls } from '@slack/types';
import { Dialog, View, KnownBlock, Block, MessageAttachment, LinkUnfurls, CallUser } from '@slack/types';
import { WebAPICallOptions, WebAPICallResult } from './WebClient';

@@ -188,2 +188,29 @@ /**

}
export interface CallsAddArguments extends WebAPICallOptions, TokenOverridable {
external_unique_id: string;
join_url: string;
created_by?: string;
date_start?: number;
desktop_app_join_url?: string;
external_display_id?: string;
title?: string;
users?: CallUser[];
}
export interface CallsEndArguments extends WebAPICallOptions, TokenOverridable {
id: string;
duration?: number;
}
export interface CallsInfoArguments extends WebAPICallOptions, TokenOverridable {
id: string;
}
export interface CallsUpdateArguments extends WebAPICallOptions, TokenOverridable {
id: string;
join_url?: string;
desktop_app_join_url?: string;
title?: string;
}
export interface CallsParticipantsAddArguments extends WebAPICallOptions, TokenOverridable {
id: string;
users: CallUser[];
}
export interface ChannelsArchiveArguments extends WebAPICallOptions, TokenOverridable {

@@ -190,0 +217,0 @@ channel: string;

@@ -175,2 +175,14 @@ /// <reference types="node" />

/**
* calls method family
*/
readonly calls: {
add: Method<methods.CallsAddArguments>;
end: Method<methods.CallsEndArguments>;
info: Method<methods.CallsInfoArguments>;
update: Method<methods.CallsUpdateArguments>;
participants: {
add: Method<methods.CallsParticipantsAddArguments>;
};
};
/**
* channels method family

@@ -177,0 +189,0 @@ */

@@ -152,2 +152,14 @@ "use strict";

/**
* calls method family
*/
this.calls = {
add: (this.apiCall.bind(this, 'calls.add')),
end: (this.apiCall.bind(this, 'calls.end')),
info: (this.apiCall.bind(this, 'calls.info')),
update: (this.apiCall.bind(this, 'calls.update')),
participants: {
add: (this.apiCall.bind(this, 'calls.participants.add')),
},
};
/**
* channels method family

@@ -154,0 +166,0 @@ */

4

package.json
{
"name": "@slack/web-api",
"version": "5.9.0",
"version": "5.10.0",
"description": "Official library for using the Slack Platform's Web API",

@@ -45,3 +45,3 @@ "author": "Slack Technologies, Inc.",

"@slack/logger": ">=1.0.0 <3.0.0",
"@slack/types": "^1.2.1",
"@slack/types": "^1.7.0",
"@types/is-stream": "^1.1.0",

@@ -48,0 +48,0 @@ "@types/node": ">=8.9.0",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc