4fe385b20d232d0bd65c23a8cfde5a0d826a4bfa
[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 _0x9e77=['request-promise','path','rimraf','./sound.attributes','define','Sound','tools_sounds','lodash','util','../../config/logger','api','bluebird'];(function(_0xe894bd,_0x43a96e){var _0x467659=function(_0x1c77f4){while(--_0x1c77f4){_0xe894bd['push'](_0xe894bd['shift']());}};_0x467659(++_0x43a96e);}(_0x9e77,0xeb));var _0x79e7=function(_0x1fd65d,_0x59e997){_0x1fd65d=_0x1fd65d-0x0;var _0x4f416e=_0x9e77[_0x1fd65d];return _0x4f416e;};'use strict';var _=require(_0x79e7('0x0'));var util=require(_0x79e7('0x1'));var logger=require(_0x79e7('0x2'))(_0x79e7('0x3'));var moment=require('moment');var BPromise=require(_0x79e7('0x4'));var rp=require(_0x79e7('0x5'));var fs=require('fs');var path=require(_0x79e7('0x6'));var rimraf=require(_0x79e7('0x7'));var config=require('../../config/environment');var attributes=require(_0x79e7('0x8'));module['exports']=function(_0x46d49d,_0x4c4274){return _0x46d49d[_0x79e7('0x9')](_0x79e7('0xa'),attributes,{'tableName':_0x79e7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};