e79ffd9ff0adb5b7f78992fca5d48d36e79a9b71
[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 _0x7f0f=['path','rimraf','../../config/environment','./voiceMusicOnHold.attributes','define','VoiceMusicOnHold','lodash','../../config/logger','moment','bluebird','request-promise'];(function(_0x50a0c2,_0x4befab){var _0x5ebadd=function(_0x3a3342){while(--_0x3a3342){_0x50a0c2['push'](_0x50a0c2['shift']());}};_0x5ebadd(++_0x4befab);}(_0x7f0f,0x103));var _0xf7f0=function(_0x1dfd72,_0x4525f0){_0x1dfd72=_0x1dfd72-0x0;var _0x4065a9=_0x7f0f[_0x1dfd72];return _0x4065a9;};'use strict';var _=require(_0xf7f0('0x0'));var util=require('util');var logger=require(_0xf7f0('0x1'))('api');var moment=require(_0xf7f0('0x2'));var BPromise=require(_0xf7f0('0x3'));var rp=require(_0xf7f0('0x4'));var fs=require('fs');var path=require(_0xf7f0('0x5'));var rimraf=require(_0xf7f0('0x6'));var config=require(_0xf7f0('0x7'));var attributes=require(_0xf7f0('0x8'));module['exports']=function(_0x4cf808,_0x5a463b){return _0x4cf808[_0xf7f0('0x9')](_0xf7f0('0xa'),attributes,{'tableName':'voice_musiconhold','paranoid':![],'indexes':[],'timestamps':!![]});};