@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
56 lines (55 loc) • 2.56 kB
TypeScript
import { Client as SoapClient, createClientAsync as soapCreateClientAsync, IExOptions as ISoapExOptions } from 'soap';
import { CreateUsers } from './definitions/CreateUsers';
import { CreateUsersResponse } from './definitions/CreateUsersResponse';
import { GetAllRoles } from './definitions/GetAllRoles';
import { GetAllRolesResponse } from './definitions/GetAllRolesResponse';
import { GetCurrentUser } from './definitions/GetCurrentUser';
import { GetCurrentUserResponse } from './definitions/GetCurrentUserResponse';
import { GetUsersByStatement } from './definitions/GetUsersByStatement';
import { GetUsersByStatementResponse } from './definitions/GetUsersByStatementResponse';
import { PerformUserAction } from './definitions/PerformUserAction';
import { PerformUserActionResponse } from './definitions/PerformUserActionResponse';
import { UpdateUsers } from './definitions/UpdateUsers';
import { UpdateUsersResponse } from './definitions/UpdateUsersResponse';
import { UserService } from './services/UserService';
export interface UserServiceClient extends SoapClient {
UserService: UserService;
createUsersAsync(createUsers: CreateUsers, options?: ISoapExOptions): Promise<[
result: CreateUsersResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getAllRolesAsync(getAllRoles: GetAllRoles, options?: ISoapExOptions): Promise<[
result: GetAllRolesResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getCurrentUserAsync(getCurrentUser: GetCurrentUser, options?: ISoapExOptions): Promise<[
result: GetCurrentUserResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
getUsersByStatementAsync(getUsersByStatement: GetUsersByStatement, options?: ISoapExOptions): Promise<[
result: GetUsersByStatementResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
performUserActionAsync(performUserAction: PerformUserAction, options?: ISoapExOptions): Promise<[
result: PerformUserActionResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
updateUsersAsync(updateUsers: UpdateUsers, options?: ISoapExOptions): Promise<[
result: UpdateUsersResponse,
rawResponse: any,
soapHeader: any,
rawRequest: any
]>;
}
/** Create UserServiceClient */
export declare function createClientAsync(...args: Parameters<typeof soapCreateClientAsync>): Promise<UserServiceClient>;