Slack Developer Kit for Node.js
Go to GitHub

TeamFacet

Kind: global class

teamFacet.accessLogs([opts], [optCb])

Gets the access logs for the current team.

Kind: instance method of [TeamFacet](#TeamFacet)
See: team.accessLogs

Param Type Description
[opts] Object  
[optCb] function Optional callback, if not using promises.

teamFacet.billableInfo([opts], [optCb])

Gets billable users information for the current team.

Kind: instance method of [TeamFacet](#TeamFacet)
See: team.billableInfo

Param Type Description
[opts] Object  
opts.user ? A user to retrieve the billable information for. Defaults to all users.
[optCb] function Optional callback, if not using promises.

teamFacet.info([optCb])

Gets information about the current team.

Kind: instance method of [TeamFacet](#TeamFacet)
See: team.info

Param Type Description
[optCb] function Optional callback, if not using promises.

teamFacet.integrationLogs([opts], [optCb])

Gets the integration logs for the current team.

Kind: instance method of [TeamFacet](#TeamFacet)
See: team.integrationLogs

Param Type Description
[opts] Object  
opts.service_id ? Filter logs to this service. Defaults to all logs.
opts.app_id ? Filter logs to this Slack app. Defaults to all logs.
opts.user ? Filter logs generated by this user’s actions. Defaults to all logs.
opts.change_type ? Filter logs with this change type. Defaults to all logs.
[optCb] function Optional callback, if not using promises.