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 _0x4e58=['path','../../config/environment','./voiceMusicOnHold.attributes','exports','define','VoiceMusicOnHold','voice_musiconhold','lodash','util','../../config/logger','moment','bluebird'];(function(_0x5b7755,_0x44681c){var _0x1a9c39=function(_0x56ceec){while(--_0x56ceec){_0x5b7755['push'](_0x5b7755['shift']());}};_0x1a9c39(++_0x44681c);}(_0x4e58,0xa3));var _0x84e5=function(_0x1a0daa,_0x2a4634){_0x1a0daa=_0x1a0daa-0x0;var _0x1dbe15=_0x4e58[_0x1a0daa];return _0x1dbe15;};'use strict';var _=require(_0x84e5('0x0'));var util=require(_0x84e5('0x1'));var logger=require(_0x84e5('0x2'))('api');var moment=require(_0x84e5('0x3'));var BPromise=require(_0x84e5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x84e5('0x5'));var rimraf=require('rimraf');var config=require(_0x84e5('0x6'));var attributes=require(_0x84e5('0x7'));module[_0x84e5('0x8')]=function(_0x4f8145,_0x289b65){return _0x4f8145[_0x84e5('0x9')](_0x84e5('0xa'),attributes,{'tableName':_0x84e5('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};