74975ff0bbe9adc69c886d2c3b18f582ef648e0b
[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 _0x151e=['exports','define','VoiceMusicOnHold','voice_musiconhold','util','../../config/logger','path','rimraf','../../config/environment','./voiceMusicOnHold.attributes'];(function(_0x1e1cee,_0x3aee55){var _0x42798a=function(_0x10f921){while(--_0x10f921){_0x1e1cee['push'](_0x1e1cee['shift']());}};_0x42798a(++_0x3aee55);}(_0x151e,0x13a));var _0xe151=function(_0x2abc3d,_0x48edca){_0x2abc3d=_0x2abc3d-0x0;var _0x252745=_0x151e[_0x2abc3d];return _0x252745;};'use strict';var _=require('lodash');var util=require(_0xe151('0x0'));var logger=require(_0xe151('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe151('0x2'));var rimraf=require(_0xe151('0x3'));var config=require(_0xe151('0x4'));var attributes=require(_0xe151('0x5'));module[_0xe151('0x6')]=function(_0x48c109,_0x198f22){return _0x48c109[_0xe151('0x7')](_0xe151('0x8'),attributes,{'tableName':_0xe151('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};