UNPKG

@rocket.chat/apps-engine

Version:

The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.

12 lines (11 loc) 615 B
import type { IOAuthAppParams } from '../../definition/accessors/IOAuthApp'; import type { IOAuthAppsModify } from '../../definition/accessors/IOAuthAppsModify'; import type { OAuthAppsBridge } from '../bridges/OAuthAppsBridge'; export declare class OAuthAppsModify implements IOAuthAppsModify { private readonly oauthAppsBridge; private readonly appId; constructor(oauthAppsBridge: OAuthAppsBridge, appId: string); createOAuthApp(oAuthApp: IOAuthAppParams): Promise<string>; updateOAuthApp(oAuthApp: IOAuthAppParams, id: string): Promise<void>; deleteOAuthApp(id: string): Promise<void>; }