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 _0x6ce0=['moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','Sound'];(function(_0x256a9e,_0x3c218d){var _0x19296d=function(_0x453f4d){while(--_0x453f4d){_0x256a9e['push'](_0x256a9e['shift']());}};_0x19296d(++_0x3c218d);}(_0x6ce0,0x88));var _0x06ce=function(_0x16446a,_0x5e9140){_0x16446a=_0x16446a-0x0;var _0x2c7051=_0x6ce0[_0x16446a];return _0x2c7051;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x06ce('0x0'));var BPromise=require(_0x06ce('0x1'));var rp=require(_0x06ce('0x2'));var fs=require('fs');var path=require(_0x06ce('0x3'));var rimraf=require(_0x06ce('0x4'));var config=require(_0x06ce('0x5'));var attributes=require('./sound.attributes');module[_0x06ce('0x6')]=function(_0x31c746,_0x5a6c4f){return _0x31c746['define'](_0x06ce('0x7'),attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};