7e55b8451958594f8de2c59fbcc112ae185b0465
[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 _0x8dc7=['./voiceMusicOnHold.attributes','exports','define','VoiceMusicOnHold','voice_musiconhold','../../config/logger','api','request-promise','path','rimraf','../../config/environment'];(function(_0x580576,_0x2f107d){var _0x3f55a0=function(_0x2e180b){while(--_0x2e180b){_0x580576['push'](_0x580576['shift']());}};_0x3f55a0(++_0x2f107d);}(_0x8dc7,0xf7));var _0x78dc=function(_0x4c6619,_0x24303a){_0x4c6619=_0x4c6619-0x0;var _0x3a28b2=_0x8dc7[_0x4c6619];return _0x3a28b2;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x78dc('0x0'))(_0x78dc('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x78dc('0x2'));var fs=require('fs');var path=require(_0x78dc('0x3'));var rimraf=require(_0x78dc('0x4'));var config=require(_0x78dc('0x5'));var attributes=require(_0x78dc('0x6'));module[_0x78dc('0x7')]=function(_0x325c87,_0x4e7131){return _0x325c87[_0x78dc('0x8')](_0x78dc('0x9'),attributes,{'tableName':_0x78dc('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};