Built motion from commit 43538d75.|2.5.35
[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 _0xb1c1=['./sound.attributes','exports','define','Sound','tools_sounds','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x46fca2,_0x8ac3b0){var _0xd6f476=function(_0x4943d5){while(--_0x4943d5){_0x46fca2['push'](_0x46fca2['shift']());}};_0xd6f476(++_0x8ac3b0);}(_0xb1c1,0x1e1));var _0x1b1c=function(_0x3bd1f2,_0x730cca){_0x3bd1f2=_0x3bd1f2-0x0;var _0x549009=_0xb1c1[_0x3bd1f2];return _0x549009;};'use strict';var _=require(_0x1b1c('0x0'));var util=require(_0x1b1c('0x1'));var logger=require(_0x1b1c('0x2'))(_0x1b1c('0x3'));var moment=require(_0x1b1c('0x4'));var BPromise=require(_0x1b1c('0x5'));var rp=require(_0x1b1c('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1b1c('0x7'));var config=require(_0x1b1c('0x8'));var attributes=require(_0x1b1c('0x9'));module[_0x1b1c('0xa')]=function(_0x4d0b1e,_0x4be91c){return _0x4d0b1e[_0x1b1c('0xb')](_0x1b1c('0xc'),attributes,{'tableName':_0x1b1c('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};