Built motion from commit (unavailable).|2.5.2
[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 _0x54ee=['tools_sounds','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./sound.attributes','exports','define','Sound'];(function(_0x31bc0a,_0x3a478b){var _0x91e8e6=function(_0x1c3b07){while(--_0x1c3b07){_0x31bc0a['push'](_0x31bc0a['shift']());}};_0x91e8e6(++_0x3a478b);}(_0x54ee,0x71));var _0xe54e=function(_0x543084,_0x4337f5){_0x543084=_0x543084-0x0;var _0x306a57=_0x54ee[_0x543084];return _0x306a57;};'use strict';var _=require(_0xe54e('0x0'));var util=require(_0xe54e('0x1'));var logger=require(_0xe54e('0x2'))(_0xe54e('0x3'));var moment=require(_0xe54e('0x4'));var BPromise=require(_0xe54e('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe54e('0x6'));var rimraf=require(_0xe54e('0x7'));var config=require(_0xe54e('0x8'));var attributes=require(_0xe54e('0x9'));module[_0xe54e('0xa')]=function(_0x41d9a9,_0x56304a){return _0x41d9a9[_0xe54e('0xb')](_0xe54e('0xc'),attributes,{'tableName':_0xe54e('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};