2f47b41b16269e80a316688311ada781cc10e7b0
[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 _0x5dee=['bluebird','path','rimraf','../../config/environment','./voiceMusicOnHold.attributes','exports','VoiceMusicOnHold','voice_musiconhold','lodash','util','../../config/logger','moment'];(function(_0xf50750,_0x49da4a){var _0x2b65b7=function(_0x168cad){while(--_0x168cad){_0xf50750['push'](_0xf50750['shift']());}};_0x2b65b7(++_0x49da4a);}(_0x5dee,0x104));var _0xe5de=function(_0x11a53d,_0x18167f){_0x11a53d=_0x11a53d-0x0;var _0x534315=_0x5dee[_0x11a53d];return _0x534315;};'use strict';var _=require(_0xe5de('0x0'));var util=require(_0xe5de('0x1'));var logger=require(_0xe5de('0x2'))('api');var moment=require(_0xe5de('0x3'));var BPromise=require(_0xe5de('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe5de('0x5'));var rimraf=require(_0xe5de('0x6'));var config=require(_0xe5de('0x7'));var attributes=require(_0xe5de('0x8'));module[_0xe5de('0x9')]=function(_0x447c3e,_0x1cf7da){return _0x447c3e['define'](_0xe5de('0xa'),attributes,{'tableName':_0xe5de('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};