Built motion from commit (unavailable).|2.5.30
[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 _0xbaa4=['VoiceMusicOnHold','voice_musiconhold','lodash','util','../../config/logger','moment','bluebird','path','rimraf','./voiceMusicOnHold.attributes','exports','define'];(function(_0x3df067,_0x3f4e66){var _0x3043a4=function(_0x598d0f){while(--_0x598d0f){_0x3df067['push'](_0x3df067['shift']());}};_0x3043a4(++_0x3f4e66);}(_0xbaa4,0xfe));var _0x4baa=function(_0x4d98e7,_0x2ab8c1){_0x4d98e7=_0x4d98e7-0x0;var _0x273c89=_0xbaa4[_0x4d98e7];return _0x273c89;};'use strict';var _=require(_0x4baa('0x0'));var util=require(_0x4baa('0x1'));var logger=require(_0x4baa('0x2'))('api');var moment=require(_0x4baa('0x3'));var BPromise=require(_0x4baa('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4baa('0x5'));var rimraf=require(_0x4baa('0x6'));var config=require('../../config/environment');var attributes=require(_0x4baa('0x7'));module[_0x4baa('0x8')]=function(_0xa594aa,_0x236f7a){return _0xa594aa[_0x4baa('0x9')](_0x4baa('0xa'),attributes,{'tableName':_0x4baa('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};