Built motion from commit f0a64034.|2.6.11
[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 _0xaf5f=['path','rimraf','../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x445870,_0x3c2510){var _0x4e73f7=function(_0x180f8e){while(--_0x180f8e){_0x445870['push'](_0x445870['shift']());}};_0x4e73f7(++_0x3c2510);}(_0xaf5f,0x158));var _0xfaf5=function(_0x3efaa0,_0x5912c2){_0x3efaa0=_0x3efaa0-0x0;var _0x5030c9=_0xaf5f[_0x3efaa0];return _0x5030c9;};'use strict';var _=require('lodash');var util=require(_0xfaf5('0x0'));var logger=require(_0xfaf5('0x1'))(_0xfaf5('0x2'));var moment=require(_0xfaf5('0x3'));var BPromise=require(_0xfaf5('0x4'));var rp=require(_0xfaf5('0x5'));var fs=require('fs');var path=require(_0xfaf5('0x6'));var rimraf=require(_0xfaf5('0x7'));var config=require(_0xfaf5('0x8'));var attributes=require(_0xfaf5('0x9'));module[_0xfaf5('0xa')]=function(_0x22821c,_0x2e1396){return _0x22821c[_0xfaf5('0xb')](_0xfaf5('0xc'),attributes,{'tableName':_0xfaf5('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};