Built motion from commit 85328c08.|2.5.50
[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 _0x1e85=['rimraf','./voiceMusicOnHold.attributes','exports','define','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x2ded8b,_0x56e874){var _0x7528ad=function(_0x5e4d30){while(--_0x5e4d30){_0x2ded8b['push'](_0x2ded8b['shift']());}};_0x7528ad(++_0x56e874);}(_0x1e85,0x1a6));var _0x51e8=function(_0x353ed8,_0x3d0cd8){_0x353ed8=_0x353ed8-0x0;var _0x2582cf=_0x1e85[_0x353ed8];return _0x2582cf;};'use strict';var _=require(_0x51e8('0x0'));var util=require(_0x51e8('0x1'));var logger=require(_0x51e8('0x2'))(_0x51e8('0x3'));var moment=require(_0x51e8('0x4'));var BPromise=require(_0x51e8('0x5'));var rp=require(_0x51e8('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x51e8('0x7'));var config=require('../../config/environment');var attributes=require(_0x51e8('0x8'));module[_0x51e8('0x9')]=function(_0x42f055,_0x43d087){return _0x42f055[_0x51e8('0xa')]('VoiceMusicOnHold',attributes,{'tableName':'voice_musiconhold','paranoid':![],'indexes':[],'timestamps':!![]});};