Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rlepinski committed Oct 1, 2024
1 parent 4226b93 commit 8e18963
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1097,54 +1097,3 @@ export interface LiveUpdateCreateRequest {
*/
dismissTimestamp?: string;
}

/**
* Live Update manager.
*/
export class AirshipLiveUpdateManager {
constructor(private readonly module: any) {}

/**
* Lists any Live Updates for the request.
* @param request The request options.
* @returns A promise with the result.
*/
public list(request: LiveUpdateListRequest): Promise<LiveUpdate[]> {
return this.module.liveUpdateList(request);
}

/**
* Lists all Live Updates.
* @returns A promise with the result.
*/
public listAll(): Promise<LiveUpdate[]> {
return this.module.liveUpdateListAll();
}

/**
* Creates a Live Update.
* @param request The request options.
* @returns A promise with the result.
*/
public create(request: LiveUpdateCreateRequest): Promise<void> {
return this.module.liveUpdateCreate(request);
}

/**
* Updates a Live Update.
* @param request The request options.
* @returns A promise with the result.
*/
public update(request: LiveUpdateUpdateRequest): Promise<void> {
return this.module.liveUpdateUpdate(request);
}

/**
* Ends a Live Update.
* @param request The request options.
* @returns A promise with the result.
*/
public end(request: LiveUpdateEndRequest): Promise<void> {
return this.module.liveUpdateEnd(request);
}
}

0 comments on commit 8e18963

Please sign in to comment.