Built motion from commit 25580385.|2.6.2
[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 _0xe4a3=['lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./sound.attributes','define','Sound','tools_sounds'];(function(_0x4ec13d,_0x358a8f){var _0x3c3fa7=function(_0x2615f6){while(--_0x2615f6){_0x4ec13d['push'](_0x4ec13d['shift']());}};_0x3c3fa7(++_0x358a8f);}(_0xe4a3,0x150));var _0x3e4a=function(_0x5a8981,_0x12fe84){_0x5a8981=_0x5a8981-0x0;var _0x4a3592=_0xe4a3[_0x5a8981];return _0x4a3592;};'use strict';var _=require(_0x3e4a('0x0'));var util=require(_0x3e4a('0x1'));var logger=require(_0x3e4a('0x2'))('api');var moment=require(_0x3e4a('0x3'));var BPromise=require('bluebird');var rp=require(_0x3e4a('0x4'));var fs=require('fs');var path=require(_0x3e4a('0x5'));var rimraf=require(_0x3e4a('0x6'));var config=require(_0x3e4a('0x7'));var attributes=require(_0x3e4a('0x8'));module['exports']=function(_0x5b03d6,_0x727e5d){return _0x5b03d6[_0x3e4a('0x9')](_0x3e4a('0xa'),attributes,{'tableName':_0x3e4a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};