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 _0x2248=['path','../../config/environment','./sound.attributes','exports','define','tools_sounds','api','moment','bluebird'];(function(_0x1073a5,_0x2705af){var _0x5c3eea=function(_0x3b0cc7){while(--_0x3b0cc7){_0x1073a5['push'](_0x1073a5['shift']());}};_0x5c3eea(++_0x2705af);}(_0x2248,0x15c));var _0x8224=function(_0x2898b6,_0x462735){_0x2898b6=_0x2898b6-0x0;var _0x152b2f=_0x2248[_0x2898b6];return _0x152b2f;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x8224('0x0'));var moment=require(_0x8224('0x1'));var BPromise=require(_0x8224('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8224('0x3'));var rimraf=require('rimraf');var config=require(_0x8224('0x4'));var attributes=require(_0x8224('0x5'));module[_0x8224('0x6')]=function(_0x3acd7d,_0x33d92e){return _0x3acd7d[_0x8224('0x7')]('Sound',attributes,{'tableName':_0x8224('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};