dfp-lib
Version:
This project hosts the Node.JS client library for the SOAP-based DFP API at Google.
23 lines (22 loc) • 935 B
TypeScript
import { User } from '../soap/user';
import { UpdateResult } from '../soap/updateResult';
import { UserAction } from '../soap/userAction';
import { Statement } from '../soap/statement';
import { UserPage } from '../soap/userPage';
import { DfpService } from '../lib/dfpService';
import { Role } from '../soap/role';
import { DfpUser } from '../lib/dfpUser';
export declare class UserService extends DfpService {
protected static SERVICE_NAME: string;
static ENDPOINT: string;
private static CLASS_MAP;
constructor(user: DfpUser, options?: {
[id: string]: any;
});
createUsers(users: User[]): Promise<User[]>;
getAllRoles(): Promise<Role[]>;
getCurrentUser(): Promise<User>;
getUsersByStatement(filterStatement: Statement): Promise<UserPage>;
performUserAction(userAction: UserAction, filterStatement: Statement): Promise<UpdateResult>;
updateUsers(users: User[]): Promise<User[]>;
}