Built motion from commit efa66e19.|2.6.22
[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 _0xbef2=['api','bluebird','request-promise','rimraf','./voiceMusicOnHold.attributes','exports','VoiceMusicOnHold','lodash','util','../../config/logger'];(function(_0x30afed,_0x2c2538){var _0x91f9fa=function(_0xc75e75){while(--_0xc75e75){_0x30afed['push'](_0x30afed['shift']());}};_0x91f9fa(++_0x2c2538);}(_0xbef2,0xa7));var _0x2bef=function(_0x514d2f,_0x3a2994){_0x514d2f=_0x514d2f-0x0;var _0x441389=_0xbef2[_0x514d2f];return _0x441389;};'use strict';var _=require(_0x2bef('0x0'));var util=require(_0x2bef('0x1'));var logger=require(_0x2bef('0x2'))(_0x2bef('0x3'));var moment=require('moment');var BPromise=require(_0x2bef('0x4'));var rp=require(_0x2bef('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2bef('0x6'));var config=require('../../config/environment');var attributes=require(_0x2bef('0x7'));module[_0x2bef('0x8')]=function(_0x23d90c,_0x4b098c){return _0x23d90c['define'](_0x2bef('0x9'),attributes,{'tableName':'voice_musiconhold','paranoid':![],'indexes':[],'timestamps':!![]});};