4a9b90776c85437303d4aa1d08c0e8d9fe45a2e7
[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 _0x67ce=['bluebird','request-promise','path','rimraf','../../config/environment','./voiceMusicOnHold.attributes','exports','define','VoiceMusicOnHold','voice_musiconhold','util','../../config/logger','api','moment'];(function(_0x585d09,_0x1274bc){var _0x7d9a14=function(_0x343d4e){while(--_0x343d4e){_0x585d09['push'](_0x585d09['shift']());}};_0x7d9a14(++_0x1274bc);}(_0x67ce,0xf8));var _0xe67c=function(_0x1e3247,_0x4f6371){_0x1e3247=_0x1e3247-0x0;var _0x3eeefc=_0x67ce[_0x1e3247];return _0x3eeefc;};'use strict';var _=require('lodash');var util=require(_0xe67c('0x0'));var logger=require(_0xe67c('0x1'))(_0xe67c('0x2'));var moment=require(_0xe67c('0x3'));var BPromise=require(_0xe67c('0x4'));var rp=require(_0xe67c('0x5'));var fs=require('fs');var path=require(_0xe67c('0x6'));var rimraf=require(_0xe67c('0x7'));var config=require(_0xe67c('0x8'));var attributes=require(_0xe67c('0x9'));module[_0xe67c('0xa')]=function(_0x40e0d3,_0x29a7a2){return _0x40e0d3[_0xe67c('0xb')](_0xe67c('0xc'),attributes,{'tableName':_0xe67c('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};