/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export class GroupsTriggersService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public getActiveTriggers(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/triggers/getActiveTriggers', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public createTrigger(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/triggers/createTrigger', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public activate(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/triggers/activate', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public deactivate(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/triggers/deactivate', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateTrigger(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/triggers/updateTrigger', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getTrigger(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/triggers/getTrigger', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }