Built motion from commit (unavailable).|2.5.15
[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 _0x71d6=['exports','define','Sound','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./sound.attributes'];(function(_0x13b08b,_0x422c7a){var _0x20816a=function(_0x57b135){while(--_0x57b135){_0x13b08b['push'](_0x13b08b['shift']());}};_0x20816a(++_0x422c7a);}(_0x71d6,0x114));var _0x671d=function(_0xbdaab8,_0x110d90){_0xbdaab8=_0xbdaab8-0x0;var _0x32feaf=_0x71d6[_0xbdaab8];return _0x32feaf;};'use strict';var _=require(_0x671d('0x0'));var util=require(_0x671d('0x1'));var logger=require(_0x671d('0x2'))(_0x671d('0x3'));var moment=require(_0x671d('0x4'));var BPromise=require(_0x671d('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x671d('0x6'));var rimraf=require(_0x671d('0x7'));var config=require(_0x671d('0x8'));var attributes=require(_0x671d('0x9'));module[_0x671d('0xa')]=function(_0xa5be50,_0x144f32){return _0xa5be50[_0x671d('0xb')](_0x671d('0xc'),attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};