a796e81757d14a1354a07d24d5773a21f855bae4
[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 _0x9e94=['../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./sound.attributes','define','Sound','tools_sounds','lodash','util'];(function(_0xc1aac4,_0x30319e){var _0xa1fefe=function(_0x3fbeab){while(--_0x3fbeab){_0xc1aac4['push'](_0xc1aac4['shift']());}};_0xa1fefe(++_0x30319e);}(_0x9e94,0x82));var _0x49e9=function(_0x5a3bc9,_0x11259e){_0x5a3bc9=_0x5a3bc9-0x0;var _0x5ad287=_0x9e94[_0x5a3bc9];return _0x5ad287;};'use strict';var _=require(_0x49e9('0x0'));var util=require(_0x49e9('0x1'));var logger=require(_0x49e9('0x2'))(_0x49e9('0x3'));var moment=require(_0x49e9('0x4'));var BPromise=require(_0x49e9('0x5'));var rp=require(_0x49e9('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x49e9('0x7'));var attributes=require(_0x49e9('0x8'));module['exports']=function(_0x34b954,_0x4c365f){return _0x34b954[_0x49e9('0x9')](_0x49e9('0xa'),attributes,{'tableName':_0x49e9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};