Built motion from commit 85328c08.|2.5.50
[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 _0x06eb=['./voiceMusicOnHold.attributes','exports','VoiceMusicOnHold','voice_musiconhold','lodash','util','api','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x3d34fa,_0x5bc7ac){var _0x326489=function(_0x594209){while(--_0x594209){_0x3d34fa['push'](_0x3d34fa['shift']());}};_0x326489(++_0x5bc7ac);}(_0x06eb,0x13c));var _0xb06e=function(_0x2a4729,_0x4e8097){_0x2a4729=_0x2a4729-0x0;var _0xcbac55=_0x06eb[_0x2a4729];return _0xcbac55;};'use strict';var _=require(_0xb06e('0x0'));var util=require(_0xb06e('0x1'));var logger=require('../../config/logger')(_0xb06e('0x2'));var moment=require('moment');var BPromise=require(_0xb06e('0x3'));var rp=require(_0xb06e('0x4'));var fs=require('fs');var path=require(_0xb06e('0x5'));var rimraf=require(_0xb06e('0x6'));var config=require(_0xb06e('0x7'));var attributes=require(_0xb06e('0x8'));module[_0xb06e('0x9')]=function(_0xcbd84e,_0x2a8aa5){return _0xcbd84e['define'](_0xb06e('0xa'),attributes,{'tableName':_0xb06e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};