Built motion from commit 092f8824.|2.5.49
[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 _0xb29d=['exports','define','Sound','tools_sounds','lodash','util','../../config/logger','api','moment','request-promise','path','../../config/environment','./sound.attributes'];(function(_0x68c979,_0x431cff){var _0x4f0001=function(_0xa7595d){while(--_0xa7595d){_0x68c979['push'](_0x68c979['shift']());}};_0x4f0001(++_0x431cff);}(_0xb29d,0x1f2));var _0xdb29=function(_0xac176d,_0x1a0197){_0xac176d=_0xac176d-0x0;var _0x26ed9c=_0xb29d[_0xac176d];return _0x26ed9c;};'use strict';var _=require(_0xdb29('0x0'));var util=require(_0xdb29('0x1'));var logger=require(_0xdb29('0x2'))(_0xdb29('0x3'));var moment=require(_0xdb29('0x4'));var BPromise=require('bluebird');var rp=require(_0xdb29('0x5'));var fs=require('fs');var path=require(_0xdb29('0x6'));var rimraf=require('rimraf');var config=require(_0xdb29('0x7'));var attributes=require(_0xdb29('0x8'));module[_0xdb29('0x9')]=function(_0x4d6e23,_0x18a172){return _0x4d6e23[_0xdb29('0xa')](_0xdb29('0xb'),attributes,{'tableName':_0xdb29('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};