f7f39a8643b11a6a23d0140c528c8a600e54c17e
[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 _0x420e=['exports','define','Sound','tools_sounds','lodash','util','api','moment','bluebird','rimraf','./sound.attributes'];(function(_0x202782,_0x42b300){var _0x2c8a7c=function(_0x26683e){while(--_0x26683e){_0x202782['push'](_0x202782['shift']());}};_0x2c8a7c(++_0x42b300);}(_0x420e,0x7d));var _0xe420=function(_0x102eda,_0x1c2975){_0x102eda=_0x102eda-0x0;var _0x1f3d99=_0x420e[_0x102eda];return _0x1f3d99;};'use strict';var _=require(_0xe420('0x0'));var util=require(_0xe420('0x1'));var logger=require('../../config/logger')(_0xe420('0x2'));var moment=require(_0xe420('0x3'));var BPromise=require(_0xe420('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xe420('0x5'));var config=require('../../config/environment');var attributes=require(_0xe420('0x6'));module[_0xe420('0x7')]=function(_0x2b172b,_0x8b445b){return _0x2b172b[_0xe420('0x8')](_0xe420('0x9'),attributes,{'tableName':_0xe420('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};