// This is Generated Source. import OrderLicensesRequest from "../definitions/OrderLicensesRequest"; import PathSegment from "../PathSegment"; export default class BulkPurchase extends PathSegment { constructor(prv: PathSegment, id?: string, service?) { super("bulk-purchase", id, prv, service); } /** *

Since 1.0.31 (Release 9.2)

Purchases licenses for add-on features: Rooms, Room Connector, Webinar, Live Reports, etc.

Required Permissions

PermissionDescription
ReadAccountsViewing user account info (including name, business name, address and phone number/account number)
EditExtensionsViewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)
EditAccountsViewing and updating user account info (including name, business name, address and phone number/account number)

API Group

Heavy

*/ post(body: OrderLicensesRequest): Promise { return this._send({ body: body, ignoreId: true, method: "post", query: undefined, }); } /** *

Since 1.0.31 (Release 9.2)

Purchases licenses for add-on features: Rooms, Room Connector, Webinar, Live Reports, etc.

Required Permissions

PermissionDescription
ReadAccountsViewing user account info (including name, business name, address and phone number/account number)
EditExtensionsViewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)
EditAccountsViewing and updating user account info (including name, business name, address and phone number/account number)

API Group

Heavy

* return {ApiResponse} */ postRaw(body: OrderLicensesRequest): Promise { return this._send({ body: body, ignoreId: true, method: "post", query: undefined, }); } }