e9e2f84fa441fc5177b6ce36f4216834da5bd992
[motion2.git] / server / api / voiceMusicOnHold / voiceMusicOnHold.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 _0xb150=['util','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceMusicOnHold.attributes','exports','VoiceMusicOnHold','voice_musiconhold','lodash'];(function(_0x6fd090,_0x3ed62e){var _0x864b11=function(_0x4e4e16){while(--_0x4e4e16){_0x6fd090['push'](_0x6fd090['shift']());}};_0x864b11(++_0x3ed62e);}(_0xb150,0xa7));var _0x0b15=function(_0xa3c0fb,_0x381eb1){_0xa3c0fb=_0xa3c0fb-0x0;var _0x2ffeea=_0xb150[_0xa3c0fb];return _0x2ffeea;};'use strict';var _=require(_0x0b15('0x0'));var util=require(_0x0b15('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x0b15('0x2'));var BPromise=require(_0x0b15('0x3'));var rp=require(_0x0b15('0x4'));var fs=require('fs');var path=require(_0x0b15('0x5'));var rimraf=require(_0x0b15('0x6'));var config=require(_0x0b15('0x7'));var attributes=require(_0x0b15('0x8'));module[_0x0b15('0x9')]=function(_0x3dba39,_0x278bbb){return _0x3dba39['define'](_0x0b15('0xa'),attributes,{'tableName':_0x0b15('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};