Built motion from commit 1fa89557.|2.6.10
[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 _0x39db=['define','VoiceMusicOnHold','voice_musiconhold','lodash','util','api','moment','bluebird','rimraf','../../config/environment','./voiceMusicOnHold.attributes','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x39db,0x147));var _0xb39d=function(_0x126fb9,_0x122c59){_0x126fb9=_0x126fb9-0x0;var _0xc8a3b1=_0x39db[_0x126fb9];return _0xc8a3b1;};'use strict';var _=require(_0xb39d('0x0'));var util=require(_0xb39d('0x1'));var logger=require('../../config/logger')(_0xb39d('0x2'));var moment=require(_0xb39d('0x3'));var BPromise=require(_0xb39d('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xb39d('0x5'));var config=require(_0xb39d('0x6'));var attributes=require(_0xb39d('0x7'));module[_0xb39d('0x8')]=function(_0x17f3f4,_0x5681ec){return _0x17f3f4[_0xb39d('0x9')](_0xb39d('0xa'),attributes,{'tableName':_0xb39d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};