Built motion from commit (unavailable).|2.5.14
[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 _0x87db=['exports','define','Sound','lodash','util','api','moment','bluebird','request-promise','rimraf','./sound.attributes'];(function(_0xbec6f3,_0x56cb5f){var _0x2ce152=function(_0x19cd00){while(--_0x19cd00){_0xbec6f3['push'](_0xbec6f3['shift']());}};_0x2ce152(++_0x56cb5f);}(_0x87db,0x179));var _0xb87d=function(_0x19fb3c,_0x48874c){_0x19fb3c=_0x19fb3c-0x0;var _0x42f2d4=_0x87db[_0x19fb3c];return _0x42f2d4;};'use strict';var _=require(_0xb87d('0x0'));var util=require(_0xb87d('0x1'));var logger=require('../../config/logger')(_0xb87d('0x2'));var moment=require(_0xb87d('0x3'));var BPromise=require(_0xb87d('0x4'));var rp=require(_0xb87d('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb87d('0x6'));var config=require('../../config/environment');var attributes=require(_0xb87d('0x7'));module[_0xb87d('0x8')]=function(_0x18263b,_0x533889){return _0x18263b[_0xb87d('0x9')](_0xb87d('0xa'),attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};