// This is Generated Source. import GetUserBusinessHoursResponse from "../definitions/GetUserBusinessHoursResponse"; import UserBusinessHoursUpdate from "../definitions/UserBusinessHoursUpdate"; import UserBusinessHoursUpdateRequest from "../definitions/UserBusinessHoursUpdateRequest"; import PathSegment from "../PathSegment"; export default class BusinessHours extends PathSegment { constructor(prv: PathSegment, id?: string, service?) { super("business-hours", id, prv, service); } /** *
Since 1.0.15 (Release 7.0)
Returns the extension user hours when answering rules are to be applied.
Light
*/ get(): PromiseSince 1.0.15 (Release 7.0)
Returns the extension user hours when answering rules are to be applied.
Light
* return {ApiResponse} */ getRaw(): PromiseSince 1.0.28 (Release 8.4)
Updates the extension user hours when answering rules are to be applied.
| Permission | Description |
|---|---|
| EditExtensions | Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings) |
Medium
*/ put(body: UserBusinessHoursUpdateRequest): PromiseSince 1.0.28 (Release 8.4)
Updates the extension user hours when answering rules are to be applied.
| Permission | Description |
|---|---|
| EditExtensions | Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings) |
Medium
* return {ApiResponse} */ putRaw(body: UserBusinessHoursUpdateRequest): Promise