Built motion from commit 9d0783e6.|2.6.13
[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 _0xe035=['../../config/logger','api','moment','bluebird','path','./sound.attributes','exports','define','Sound','lodash','util'];(function(_0x58fa36,_0x1756a8){var _0x11fb28=function(_0x38204b){while(--_0x38204b){_0x58fa36['push'](_0x58fa36['shift']());}};_0x11fb28(++_0x1756a8);}(_0xe035,0x1a0));var _0x5e03=function(_0x278455,_0x29bf0a){_0x278455=_0x278455-0x0;var _0x16ce7d=_0xe035[_0x278455];return _0x16ce7d;};'use strict';var _=require(_0x5e03('0x0'));var util=require(_0x5e03('0x1'));var logger=require(_0x5e03('0x2'))(_0x5e03('0x3'));var moment=require(_0x5e03('0x4'));var BPromise=require(_0x5e03('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5e03('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x5e03('0x7'));module[_0x5e03('0x8')]=function(_0x827b64,_0x8d5367){return _0x827b64[_0x5e03('0x9')](_0x5e03('0xa'),attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};