747410aace14180128d1e90da0a00b7772a22a9e
[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 _0x8d9e=['api','bluebird','request-promise','path','rimraf','../../config/environment','./voiceMusicOnHold.attributes','exports','define','VoiceMusicOnHold','../../config/logger'];(function(_0x1a8c02,_0x26728e){var _0x1240ec=function(_0x4a5f4b){while(--_0x4a5f4b){_0x1a8c02['push'](_0x1a8c02['shift']());}};_0x1240ec(++_0x26728e);}(_0x8d9e,0x99));var _0xe8d9=function(_0x1f55f7,_0x4f8eef){_0x1f55f7=_0x1f55f7-0x0;var _0x47cc15=_0x8d9e[_0x1f55f7];return _0x47cc15;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe8d9('0x0'))(_0xe8d9('0x1'));var moment=require('moment');var BPromise=require(_0xe8d9('0x2'));var rp=require(_0xe8d9('0x3'));var fs=require('fs');var path=require(_0xe8d9('0x4'));var rimraf=require(_0xe8d9('0x5'));var config=require(_0xe8d9('0x6'));var attributes=require(_0xe8d9('0x7'));module[_0xe8d9('0x8')]=function(_0x138807,_0x1020a6){return _0x138807[_0xe8d9('0x9')](_0xe8d9('0xa'),attributes,{'tableName':'voice_musiconhold','paranoid':![],'indexes':[],'timestamps':!![]});};