Built motion from commit 449495f6.|2.6.27
[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 _0xbfac=['tools_sounds','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','./sound.attributes','exports','define','Sound'];(function(_0x37bd26,_0x5ad346){var _0xe83dc4=function(_0x1ac229){while(--_0x1ac229){_0x37bd26['push'](_0x37bd26['shift']());}};_0xe83dc4(++_0x5ad346);}(_0xbfac,0x1e2));var _0xcbfa=function(_0x26882c,_0x80bed2){_0x26882c=_0x26882c-0x0;var _0x4a5052=_0xbfac[_0x26882c];return _0x4a5052;};'use strict';var _=require(_0xcbfa('0x0'));var util=require(_0xcbfa('0x1'));var logger=require(_0xcbfa('0x2'))(_0xcbfa('0x3'));var moment=require('moment');var BPromise=require(_0xcbfa('0x4'));var rp=require(_0xcbfa('0x5'));var fs=require('fs');var path=require(_0xcbfa('0x6'));var rimraf=require(_0xcbfa('0x7'));var config=require('../../config/environment');var attributes=require(_0xcbfa('0x8'));module[_0xcbfa('0x9')]=function(_0x4e45f2,_0x527eb3){return _0x4e45f2[_0xcbfa('0xa')](_0xcbfa('0xb'),attributes,{'tableName':_0xcbfa('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};