Built motion from commit da24aabd.|2.6.20
[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 _0x1d1e=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds','lodash','util'];(function(_0x3a9b08,_0x2df26d){var _0x3ea265=function(_0x19cc90){while(--_0x19cc90){_0x3a9b08['push'](_0x3a9b08['shift']());}};_0x3ea265(++_0x2df26d);}(_0x1d1e,0x124));var _0xe1d1=function(_0x568bba,_0x2cabca){_0x568bba=_0x568bba-0x0;var _0x3b49e0=_0x1d1e[_0x568bba];return _0x3b49e0;};'use strict';var _=require(_0xe1d1('0x0'));var util=require(_0xe1d1('0x1'));var logger=require('../../config/logger')(_0xe1d1('0x2'));var moment=require(_0xe1d1('0x3'));var BPromise=require(_0xe1d1('0x4'));var rp=require(_0xe1d1('0x5'));var fs=require('fs');var path=require(_0xe1d1('0x6'));var rimraf=require(_0xe1d1('0x7'));var config=require(_0xe1d1('0x8'));var attributes=require(_0xe1d1('0x9'));module[_0xe1d1('0xa')]=function(_0x2781f0,_0x3f8723){return _0x2781f0[_0xe1d1('0xb')](_0xe1d1('0xc'),attributes,{'tableName':_0xe1d1('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};