498d4a678a959f7c1c95d5fbb9c5a1e9e3ac49b1
[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 _0x445b=['api','moment','request-promise','path','rimraf','../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds','util','../../config/logger'];(function(_0x498eba,_0x120f96){var _0x51e65e=function(_0x3d1c25){while(--_0x3d1c25){_0x498eba['push'](_0x498eba['shift']());}};_0x51e65e(++_0x120f96);}(_0x445b,0x143));var _0xb445=function(_0x4c1f1a,_0x15e289){_0x4c1f1a=_0x4c1f1a-0x0;var _0xc813f7=_0x445b[_0x4c1f1a];return _0xc813f7;};'use strict';var _=require('lodash');var util=require(_0xb445('0x0'));var logger=require(_0xb445('0x1'))(_0xb445('0x2'));var moment=require(_0xb445('0x3'));var BPromise=require('bluebird');var rp=require(_0xb445('0x4'));var fs=require('fs');var path=require(_0xb445('0x5'));var rimraf=require(_0xb445('0x6'));var config=require(_0xb445('0x7'));var attributes=require(_0xb445('0x8'));module[_0xb445('0x9')]=function(_0x3740db,_0xca3a6a){return _0x3740db[_0xb445('0xa')](_0xb445('0xb'),attributes,{'tableName':_0xb445('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};