Built motion from commit 87cd5f02.|2.5.48
[motion2.git] / server / api / voiceMusicOnHold / voiceMusicOnHold.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x3ac5=['exports','define','voice_musiconhold','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceMusicOnHold.attributes'];(function(_0x4c6dbb,_0x35f427){var _0x47fec6=function(_0x4a1ff3){while(--_0x4a1ff3){_0x4c6dbb['push'](_0x4c6dbb['shift']());}};_0x47fec6(++_0x35f427);}(_0x3ac5,0xf1));var _0x53ac=function(_0x232388,_0x58fd1d){_0x232388=_0x232388-0x0;var _0x58bffa=_0x3ac5[_0x232388];return _0x58bffa;};'use strict';var _=require(_0x53ac('0x0'));var util=require(_0x53ac('0x1'));var logger=require(_0x53ac('0x2'))(_0x53ac('0x3'));var moment=require(_0x53ac('0x4'));var BPromise=require(_0x53ac('0x5'));var rp=require(_0x53ac('0x6'));var fs=require('fs');var path=require(_0x53ac('0x7'));var rimraf=require(_0x53ac('0x8'));var config=require(_0x53ac('0x9'));var attributes=require(_0x53ac('0xa'));module[_0x53ac('0xb')]=function(_0x1b958b,_0x2d672c){return _0x1b958b[_0x53ac('0xc')]('VoiceMusicOnHold',attributes,{'tableName':_0x53ac('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};