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 _0x7fea=['path','rimraf','../../config/environment','./voiceMusicOnHold.attributes','exports','define','VoiceMusicOnHold','voice_musiconhold','util','../../config/logger','api','moment','request-promise'];(function(_0x4d12ca,_0x3c4087){var _0x5ab836=function(_0x141d44){while(--_0x141d44){_0x4d12ca['push'](_0x4d12ca['shift']());}};_0x5ab836(++_0x3c4087);}(_0x7fea,0xe5));var _0xa7fe=function(_0x2078a,_0x5c6a92){_0x2078a=_0x2078a-0x0;var _0x22956c=_0x7fea[_0x2078a];return _0x22956c;};'use strict';var _=require('lodash');var util=require(_0xa7fe('0x0'));var logger=require(_0xa7fe('0x1'))(_0xa7fe('0x2'));var moment=require(_0xa7fe('0x3'));var BPromise=require('bluebird');var rp=require(_0xa7fe('0x4'));var fs=require('fs');var path=require(_0xa7fe('0x5'));var rimraf=require(_0xa7fe('0x6'));var config=require(_0xa7fe('0x7'));var attributes=require(_0xa7fe('0x8'));module[_0xa7fe('0x9')]=function(_0x1dea8c,_0x459209){return _0x1dea8c[_0xa7fe('0xa')](_0xa7fe('0xb'),attributes,{'tableName':_0xa7fe('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};