a6f7e8d0a3ff7d3419b98f3aeb83b316bef9c03e
[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 _0x5d0b=['../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x10e9a2,_0x4f485a){var _0x49f70d=function(_0x3309c6){while(--_0x3309c6){_0x10e9a2['push'](_0x10e9a2['shift']());}};_0x49f70d(++_0x4f485a);}(_0x5d0b,0xae));var _0xb5d0=function(_0xb70791,_0x1d91d6){_0xb70791=_0xb70791-0x0;var _0x48f939=_0x5d0b[_0xb70791];return _0x48f939;};'use strict';var _=require(_0xb5d0('0x0'));var util=require(_0xb5d0('0x1'));var logger=require(_0xb5d0('0x2'))(_0xb5d0('0x3'));var moment=require(_0xb5d0('0x4'));var BPromise=require('bluebird');var rp=require(_0xb5d0('0x5'));var fs=require('fs');var path=require(_0xb5d0('0x6'));var rimraf=require(_0xb5d0('0x7'));var config=require(_0xb5d0('0x8'));var attributes=require(_0xb5d0('0x9'));module[_0xb5d0('0xa')]=function(_0x4908e9,_0x309f24){return _0x4908e9[_0xb5d0('0xb')](_0xb5d0('0xc'),attributes,{'tableName':_0xb5d0('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};