1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x8500=['exports','VoiceMusicOnHold','voice_musiconhold','util','path','rimraf','../../config/environment'];(function(_0x113565,_0x3ff447){var _0x1ed9ba=function(_0x441c5d){while(--_0x441c5d){_0x113565['push'](_0x113565['shift']());}};_0x1ed9ba(++_0x3ff447);}(_0x8500,0x137));var _0x0850=function(_0xac288d,_0x3881b4){_0xac288d=_0xac288d-0x0;var _0x155ae1=_0x8500[_0xac288d];return _0x155ae1;};'use strict';var _=require('lodash');var util=require(_0x0850('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0850('0x1'));var rimraf=require(_0x0850('0x2'));var config=require(_0x0850('0x3'));var attributes=require('./voiceMusicOnHold.attributes');module[_0x0850('0x4')]=function(_0x3e0f0f,_0x413725){return _0x3e0f0f['define'](_0x0850('0x5'),attributes,{'tableName':_0x0850('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};