Built motion from commit 5b761a7b.|2.5.36
[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 _0xd023=['request-promise','path','rimraf','../../config/environment','exports','define','lodash','util','api','moment'];(function(_0x48364c,_0x3c4fb4){var _0x3372eb=function(_0x224541){while(--_0x224541){_0x48364c['push'](_0x48364c['shift']());}};_0x3372eb(++_0x3c4fb4);}(_0xd023,0x13c));var _0x3d02=function(_0xda501a,_0x159d6a){_0xda501a=_0xda501a-0x0;var _0x44be3a=_0xd023[_0xda501a];return _0x44be3a;};'use strict';var _=require(_0x3d02('0x0'));var util=require(_0x3d02('0x1'));var logger=require('../../config/logger')(_0x3d02('0x2'));var moment=require(_0x3d02('0x3'));var BPromise=require('bluebird');var rp=require(_0x3d02('0x4'));var fs=require('fs');var path=require(_0x3d02('0x5'));var rimraf=require(_0x3d02('0x6'));var config=require(_0x3d02('0x7'));var attributes=require('./sound.attributes');module[_0x3d02('0x8')]=function(_0x340c1d,_0x2ef756){return _0x340c1d[_0x3d02('0x9')]('Sound',attributes,{'tableName':'tools_sounds','paranoid':![],'indexes':[],'timestamps':!![]});};