817485c7582bcd63695d26c05dbaffdb1da92c7a
[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 _0x782d=['path','rimraf','../../config/environment','./sound.attributes','Sound','tools_sounds','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x5783f4,_0x4a9e0a){var _0x28e380=function(_0x1ffc49){while(--_0x1ffc49){_0x5783f4['push'](_0x5783f4['shift']());}};_0x28e380(++_0x4a9e0a);}(_0x782d,0xc6));var _0xd782=function(_0x193c17,_0x31715e){_0x193c17=_0x193c17-0x0;var _0xb8fdf3=_0x782d[_0x193c17];return _0xb8fdf3;};'use strict';var _=require(_0xd782('0x0'));var util=require(_0xd782('0x1'));var logger=require(_0xd782('0x2'))('api');var moment=require(_0xd782('0x3'));var BPromise=require(_0xd782('0x4'));var rp=require(_0xd782('0x5'));var fs=require('fs');var path=require(_0xd782('0x6'));var rimraf=require(_0xd782('0x7'));var config=require(_0xd782('0x8'));var attributes=require(_0xd782('0x9'));module['exports']=function(_0x2d5e97,_0x3c0bd2){return _0x2d5e97['define'](_0xd782('0xa'),attributes,{'tableName':_0xd782('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};