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 _0xb19b=['define','VoiceMusicOnHold','voice_musiconhold','lodash','util','../../config/logger','moment','bluebird','path','../../config/environment','./voiceMusicOnHold.attributes','exports'];(function(_0x2b2c7f,_0x4c987){var _0x5aa2c2=function(_0x5080b1){while(--_0x5080b1){_0x2b2c7f['push'](_0x2b2c7f['shift']());}};_0x5aa2c2(++_0x4c987);}(_0xb19b,0x117));var _0xbb19=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xb19b[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xbb19('0x0'));var util=require(_0xbb19('0x1'));var logger=require(_0xbb19('0x2'))('api');var moment=require(_0xbb19('0x3'));var BPromise=require(_0xbb19('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbb19('0x5'));var rimraf=require('rimraf');var config=require(_0xbb19('0x6'));var attributes=require(_0xbb19('0x7'));module[_0xbb19('0x8')]=function(_0xb224bb,_0x246bac){return _0xb224bb[_0xbb19('0x9')](_0xbb19('0xa'),attributes,{'tableName':_0xbb19('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};