b7b808e15f76b4f430ee142342b216de59b7ee72
[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 _0x62e2=['lodash','util','moment','bluebird','request-promise','rimraf','../../config/environment','./voiceMusicOnHold.attributes','exports','define','VoiceMusicOnHold','voice_musiconhold'];(function(_0x44e577,_0x16a38d){var _0x2ff124=function(_0x266893){while(--_0x266893){_0x44e577['push'](_0x44e577['shift']());}};_0x2ff124(++_0x16a38d);}(_0x62e2,0xa8));var _0x262e=function(_0x2f077c,_0x4b0eb7){_0x2f077c=_0x2f077c-0x0;var _0x474f93=_0x62e2[_0x2f077c];return _0x474f93;};'use strict';var _=require(_0x262e('0x0'));var util=require(_0x262e('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x262e('0x2'));var BPromise=require(_0x262e('0x3'));var rp=require(_0x262e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x262e('0x5'));var config=require(_0x262e('0x6'));var attributes=require(_0x262e('0x7'));module[_0x262e('0x8')]=function(_0x3d8bae,_0x4e7d5c){return _0x3d8bae[_0x262e('0x9')](_0x262e('0xa'),attributes,{'tableName':_0x262e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};