Built motion from commit (unavailable).|2.5.13
[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 _0x0eb6=['lodash','util','../../config/logger','api','request-promise','path','rimraf','exports','define','VoiceMusicOnHold','voice_musiconhold'];(function(_0x1cc961,_0x2c42ee){var _0x471d86=function(_0x44e422){while(--_0x44e422){_0x1cc961['push'](_0x1cc961['shift']());}};_0x471d86(++_0x2c42ee);}(_0x0eb6,0x129));var _0x60eb=function(_0x3ef2d5,_0x423d46){_0x3ef2d5=_0x3ef2d5-0x0;var _0x2fefb2=_0x0eb6[_0x3ef2d5];return _0x2fefb2;};'use strict';var _=require(_0x60eb('0x0'));var util=require(_0x60eb('0x1'));var logger=require(_0x60eb('0x2'))(_0x60eb('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x60eb('0x4'));var fs=require('fs');var path=require(_0x60eb('0x5'));var rimraf=require(_0x60eb('0x6'));var config=require('../../config/environment');var attributes=require('./voiceMusicOnHold.attributes');module[_0x60eb('0x7')]=function(_0x59fbae,_0x386704){return _0x59fbae[_0x60eb('0x8')](_0x60eb('0x9'),attributes,{'tableName':_0x60eb('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};