bc286320b622c1cb20b5e2c58b7fec4514914383
[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 _0x82e4=['VoiceMusicOnHold','voice_musiconhold','util','../../config/logger','api','path','rimraf','../../config/environment','./voiceMusicOnHold.attributes','exports','define'];(function(_0x5ace9d,_0x76d9b){var _0x557b04=function(_0xa0d6c6){while(--_0xa0d6c6){_0x5ace9d['push'](_0x5ace9d['shift']());}};_0x557b04(++_0x76d9b);}(_0x82e4,0x1c5));var _0x482e=function(_0x39609a,_0x28a563){_0x39609a=_0x39609a-0x0;var _0xecd92=_0x82e4[_0x39609a];return _0xecd92;};'use strict';var _=require('lodash');var util=require(_0x482e('0x0'));var logger=require(_0x482e('0x1'))(_0x482e('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x482e('0x3'));var rimraf=require(_0x482e('0x4'));var config=require(_0x482e('0x5'));var attributes=require(_0x482e('0x6'));module[_0x482e('0x7')]=function(_0x22f941,_0x58aeec){return _0x22f941[_0x482e('0x8')](_0x482e('0x9'),attributes,{'tableName':_0x482e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};