3e4e50a4d06a30e08701e2bf8d84e6cf177da18c
[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 _0x483a=['../../config/environment','./voiceMusicOnHold.attributes','define','VoiceMusicOnHold','voice_musiconhold','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x4e6131,_0x3c7e5c){var _0x26fee0=function(_0x2b98ea){while(--_0x2b98ea){_0x4e6131['push'](_0x4e6131['shift']());}};_0x26fee0(++_0x3c7e5c);}(_0x483a,0x18b));var _0xa483=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x483a[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xa483('0x0'));var util=require(_0xa483('0x1'));var logger=require(_0xa483('0x2'))(_0xa483('0x3'));var moment=require(_0xa483('0x4'));var BPromise=require(_0xa483('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa483('0x6'));var rimraf=require(_0xa483('0x7'));var config=require(_0xa483('0x8'));var attributes=require(_0xa483('0x9'));module['exports']=function(_0x80a82a,_0xb8b604){return _0x80a82a[_0xa483('0xa')](_0xa483('0xb'),attributes,{'tableName':_0xa483('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};