Built motion from commit b0a9a629.|2.6.33
[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 _0xdc21=['rimraf','../../config/environment','./voiceMusicOnHold.attributes','exports','define','VoiceMusicOnHold','../../config/logger','moment','bluebird'];(function(_0x39c734,_0x2f3e06){var _0xb2a2f9=function(_0x502f3f){while(--_0x502f3f){_0x39c734['push'](_0x39c734['shift']());}};_0xb2a2f9(++_0x2f3e06);}(_0xdc21,0x96));var _0x1dc2=function(_0x5f230b,_0x4e188f){_0x5f230b=_0x5f230b-0x0;var _0x295925=_0xdc21[_0x5f230b];return _0x295925;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x1dc2('0x0'))('api');var moment=require(_0x1dc2('0x1'));var BPromise=require(_0x1dc2('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x1dc2('0x3'));var config=require(_0x1dc2('0x4'));var attributes=require(_0x1dc2('0x5'));module[_0x1dc2('0x6')]=function(_0x507f20,_0x259772){return _0x507f20[_0x1dc2('0x7')](_0x1dc2('0x8'),attributes,{'tableName':'voice_musiconhold','paranoid':![],'indexes':[],'timestamps':!![]});};