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 _0xbd1d=['voice_musiconhold','util','../../config/logger','api','bluebird','request-promise','path','./voiceMusicOnHold.attributes','exports'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xbd1d,0x1c3));var _0xdbd1=function(_0x225252,_0x160079){_0x225252=_0x225252-0x0;var _0x4d305e=_0xbd1d[_0x225252];return _0x4d305e;};'use strict';var _=require('lodash');var util=require(_0xdbd1('0x0'));var logger=require(_0xdbd1('0x1'))(_0xdbd1('0x2'));var moment=require('moment');var BPromise=require(_0xdbd1('0x3'));var rp=require(_0xdbd1('0x4'));var fs=require('fs');var path=require(_0xdbd1('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xdbd1('0x6'));module[_0xdbd1('0x7')]=function(_0x1cfc09,_0x2ff50b){return _0x1cfc09['define']('VoiceMusicOnHold',attributes,{'tableName':_0xdbd1('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};