UNPKG

1.01 kBTypeScriptView Raw
1import { BaseService, BaseRequestOptions, Sudo } from '../infrastructure';
2export declare type SupportedService = 'asana' | 'assembla' | 'bamboo' | 'bugzilla' | 'buildkite' | 'campfire' | 'custom-issue-tracker' | 'drone-ci' | 'emails-on-push' | 'external-wiki' | 'flowdock' | 'hangouts_chat' | 'hipchat' | 'irker' | 'jira' | 'kubernetes' | 'slack-slash-commands' | 'slack' | 'packagist' | 'pipelines-email' | 'pivotaltracker' | 'prometheus' | 'pushover' | 'redmine' | 'microsoft-teams' | 'mattermost' | 'mattermost-slash-commands' | 'teamcity' | 'jenkins' | 'jenkins-deprecated' | 'mock-ci';
3export declare class Services extends BaseService {
4 edit(projectId: string | number, serviceName: SupportedService, options?: BaseRequestOptions): Promise<object>;
5 remove(projectId: string | number, serviceName: SupportedService, options?: Sudo): Promise<object>;
6 show(projectId: string | number, serviceName: SupportedService, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
7}