Built motion from commit (unavailable).|2.5.19
[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 _0xfd77=['rimraf','./sound.attributes','exports','define','Sound','tools_sounds','lodash','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x3f46a8,_0xafe073){var _0x381034=function(_0x3f0da6){while(--_0x3f0da6){_0x3f46a8['push'](_0x3f46a8['shift']());}};_0x381034(++_0xafe073);}(_0xfd77,0x7b));var _0x7fd7=function(_0x495caa,_0x595570){_0x495caa=_0x495caa-0x0;var _0x2bdd0c=_0xfd77[_0x495caa];return _0x2bdd0c;};'use strict';var _=require(_0x7fd7('0x0'));var util=require('util');var logger=require(_0x7fd7('0x1'))(_0x7fd7('0x2'));var moment=require(_0x7fd7('0x3'));var BPromise=require(_0x7fd7('0x4'));var rp=require(_0x7fd7('0x5'));var fs=require('fs');var path=require(_0x7fd7('0x6'));var rimraf=require(_0x7fd7('0x7'));var config=require('../../config/environment');var attributes=require(_0x7fd7('0x8'));module[_0x7fd7('0x9')]=function(_0x49aeb9,_0x4daa51){return _0x49aeb9[_0x7fd7('0xa')](_0x7fd7('0xb'),attributes,{'tableName':_0x7fd7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};