8e805b1ef4e2fc6bbb0cf06d6e45b94a62b45c90
[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 _0xb83c=['api','moment','bluebird','path','rimraf','../../config/environment','./sound.attributes','exports','Sound','tools_sounds','lodash','util','../../config/logger'];(function(_0x287526,_0x3821cd){var _0x300729=function(_0x2c4acb){while(--_0x2c4acb){_0x287526['push'](_0x287526['shift']());}};_0x300729(++_0x3821cd);}(_0xb83c,0x11b));var _0xcb83=function(_0x5426d3,_0x31cd10){_0x5426d3=_0x5426d3-0x0;var _0x443019=_0xb83c[_0x5426d3];return _0x443019;};'use strict';var _=require(_0xcb83('0x0'));var util=require(_0xcb83('0x1'));var logger=require(_0xcb83('0x2'))(_0xcb83('0x3'));var moment=require(_0xcb83('0x4'));var BPromise=require(_0xcb83('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xcb83('0x6'));var rimraf=require(_0xcb83('0x7'));var config=require(_0xcb83('0x8'));var attributes=require(_0xcb83('0x9'));module[_0xcb83('0xa')]=function(_0x29dc39,_0x9783e){return _0x29dc39['define'](_0xcb83('0xb'),attributes,{'tableName':_0xcb83('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};