685d153b8681f15865c10815ff1c3eee4755edb4
[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 _0x0269=['request-promise','path','../../config/environment','./sound.attributes','exports','Sound','tools_sounds','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x37c051,_0x248f5c){var _0x237220=function(_0x29d629){while(--_0x29d629){_0x37c051['push'](_0x37c051['shift']());}};_0x237220(++_0x248f5c);}(_0x0269,0xd7));var _0x9026=function(_0x5a0045,_0x319482){_0x5a0045=_0x5a0045-0x0;var _0x1a558b=_0x0269[_0x5a0045];return _0x1a558b;};'use strict';var _=require(_0x9026('0x0'));var util=require(_0x9026('0x1'));var logger=require(_0x9026('0x2'))(_0x9026('0x3'));var moment=require(_0x9026('0x4'));var BPromise=require(_0x9026('0x5'));var rp=require(_0x9026('0x6'));var fs=require('fs');var path=require(_0x9026('0x7'));var rimraf=require('rimraf');var config=require(_0x9026('0x8'));var attributes=require(_0x9026('0x9'));module[_0x9026('0xa')]=function(_0x3312a9,_0x3f769c){return _0x3312a9['define'](_0x9026('0xb'),attributes,{'tableName':_0x9026('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};