a9c4691eec5c6b04ec326b0ef509b9585d30dad5
[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 _0x6acf=['rimraf','../../config/environment','./voiceMusicOnHold.attributes','exports','define','VoiceMusicOnHold','voice_musiconhold','lodash','api','moment','bluebird','request-promise'];(function(_0x2adfb1,_0x406e6e){var _0xa52d45=function(_0x2de16c){while(--_0x2de16c){_0x2adfb1['push'](_0x2adfb1['shift']());}};_0xa52d45(++_0x406e6e);}(_0x6acf,0x133));var _0xf6ac=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6acf[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xf6ac('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xf6ac('0x1'));var moment=require(_0xf6ac('0x2'));var BPromise=require(_0xf6ac('0x3'));var rp=require(_0xf6ac('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf6ac('0x5'));var config=require(_0xf6ac('0x6'));var attributes=require(_0xf6ac('0x7'));module[_0xf6ac('0x8')]=function(_0x39a442,_0xc662a4){return _0x39a442[_0xf6ac('0x9')](_0xf6ac('0xa'),attributes,{'tableName':_0xf6ac('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};