Built motion from commit 598073ad.|2.5.44
[motion2.git] / server / api / sound / sound.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x1247=['bluebird','request-promise','path','rimraf','../../config/environment','./sound.attributes','exports','Sound','tools_sounds','lodash','api'];(function(_0x419de8,_0x3c21a4){var _0x3fd763=function(_0x537429){while(--_0x537429){_0x419de8['push'](_0x419de8['shift']());}};_0x3fd763(++_0x3c21a4);}(_0x1247,0xf0));var _0x7124=function(_0x3bab09,_0x217c29){_0x3bab09=_0x3bab09-0x0;var _0x164376=_0x1247[_0x3bab09];return _0x164376;};'use strict';var _=require(_0x7124('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x7124('0x1'));var moment=require('moment');var BPromise=require(_0x7124('0x2'));var rp=require(_0x7124('0x3'));var fs=require('fs');var path=require(_0x7124('0x4'));var rimraf=require(_0x7124('0x5'));var config=require(_0x7124('0x6'));var attributes=require(_0x7124('0x7'));module[_0x7124('0x8')]=function(_0x2f1ab2,_0x15d95e){return _0x2f1ab2['define'](_0x7124('0x9'),attributes,{'tableName':_0x7124('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};