Built motion from commit 14588770.|2.5.38
[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 _0x5859=['util','../../config/logger','api','moment','bluebird','path','rimraf','./sound.attributes','exports','define','tools_sounds','lodash'];(function(_0x4e498a,_0x5b0684){var _0x5eea36=function(_0x2edd24){while(--_0x2edd24){_0x4e498a['push'](_0x4e498a['shift']());}};_0x5eea36(++_0x5b0684);}(_0x5859,0x107));var _0x9585=function(_0x4792c8,_0x5158a1){_0x4792c8=_0x4792c8-0x0;var _0x35edb1=_0x5859[_0x4792c8];return _0x35edb1;};'use strict';var _=require(_0x9585('0x0'));var util=require(_0x9585('0x1'));var logger=require(_0x9585('0x2'))(_0x9585('0x3'));var moment=require(_0x9585('0x4'));var BPromise=require(_0x9585('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9585('0x6'));var rimraf=require(_0x9585('0x7'));var config=require('../../config/environment');var attributes=require(_0x9585('0x8'));module[_0x9585('0x9')]=function(_0x2ec382,_0x59550e){return _0x2ec382[_0x9585('0xa')]('Sound',attributes,{'tableName':_0x9585('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};