5c2c1e9f2d543bd306271fb683e4b14ba2306f52
[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 _0xc00b=['rimraf','../../config/environment','define','VoiceMusicOnHold','voice_musiconhold','lodash','util','../../config/logger','api','request-promise'];(function(_0x54e2c5,_0x393ebe){var _0x42b65f=function(_0x94cc9e){while(--_0x94cc9e){_0x54e2c5['push'](_0x54e2c5['shift']());}};_0x42b65f(++_0x393ebe);}(_0xc00b,0x113));var _0xbc00=function(_0x3f5210,_0x32f195){_0x3f5210=_0x3f5210-0x0;var _0x53c3ab=_0xc00b[_0x3f5210];return _0x53c3ab;};'use strict';var _=require(_0xbc00('0x0'));var util=require(_0xbc00('0x1'));var logger=require(_0xbc00('0x2'))(_0xbc00('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xbc00('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbc00('0x5'));var config=require(_0xbc00('0x6'));var attributes=require('./voiceMusicOnHold.attributes');module['exports']=function(_0x2452b7,_0x1df5d1){return _0x2452b7[_0xbc00('0x7')](_0xbc00('0x8'),attributes,{'tableName':_0xbc00('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};