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 _0x7f4a=['tools_sounds','lodash','bluebird','request-promise','path','../../config/environment','exports','Sound'];(function(_0x5381e2,_0x452bc8){var _0x4a418d=function(_0x4a50f5){while(--_0x4a50f5){_0x5381e2['push'](_0x5381e2['shift']());}};_0x4a418d(++_0x452bc8);}(_0x7f4a,0x179));var _0xa7f4=function(_0x5dcae8,_0x14040a){_0x5dcae8=_0x5dcae8-0x0;var _0xa7a0c6=_0x7f4a[_0x5dcae8];return _0xa7a0c6;};'use strict';var _=require(_0xa7f4('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xa7f4('0x1'));var rp=require(_0xa7f4('0x2'));var fs=require('fs');var path=require(_0xa7f4('0x3'));var rimraf=require('rimraf');var config=require(_0xa7f4('0x4'));var attributes=require('./sound.attributes');module[_0xa7f4('0x5')]=function(_0xf101ca,_0x5b4e94){return _0xf101ca['define'](_0xa7f4('0x6'),attributes,{'tableName':_0xa7f4('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};