Built motion from commit (unavailable).|2.4.17
[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 _0x5805=['lodash','util','../../config/logger','moment','request-promise','path','rimraf','./sound.attributes','exports','define','Sound'];(function(_0x32a64e,_0x4428a6){var _0x13b2c5=function(_0x4bf783){while(--_0x4bf783){_0x32a64e['push'](_0x32a64e['shift']());}};_0x13b2c5(++_0x4428a6);}(_0x5805,0x13f));var _0x5580=function(_0x3e5086,_0x48f4a2){_0x3e5086=_0x3e5086-0x0;var _0xfeb102=_0x5805[_0x3e5086];return _0xfeb102;};'use strict';var _=require(_0x5580('0x0'));var util=require(_0x5580('0x1'));var logger=require(_0x5580('0x2'))('api');var moment=require(_0x5580('0x3'));var BPromise=require('bluebird');var rp=require(_0x5580('0x4'));var fs=require('fs');var path=require(_0x5580('0x5'));var rimraf=require(_0x5580('0x6'));var config=require('../../config/environment');var attributes=require(_0x5580('0x7'));module[_0x5580('0x8')]=function(_0x3dbb88,_0x1a0e22){return _0x3dbb88[_0x5580('0x9')](_0x5580('0xa'),attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};