feat: Create send slack message action

This commit is contained in:
Faruk AYDIN
2022-03-17 21:36:48 +03:00
committed by Ömer Faruk Aydın
parent fb7e679230
commit 5e1fc510ff
3 changed files with 44 additions and 3 deletions

View File

@@ -1,18 +1,25 @@
import Authentication from './authentication';
import Data from './data';
import {
IService,
IAuthentication,
IApp,
IJSONObject,
} from '@automatisch/types';
import Authentication from './authentication';
import Actions from './actions';
import Data from './data';
export default class Slack implements IService {
authenticationClient: IAuthentication;
actions: Actions;
data: Data;
constructor(appData: IApp, connectionData: IJSONObject) {
constructor(
appData: IApp,
connectionData: IJSONObject,
parameters: IJSONObject
) {
this.authenticationClient = new Authentication(appData, connectionData);
this.data = new Data(connectionData);
this.actions = new Actions(connectionData, parameters);
}
}