3b5b563cb0ef4a3b9238395b641782887412460d
[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 _0x236f=['../../config/environment','./voiceMusicOnHold.attributes','exports','voice_musiconhold','util','api','moment','bluebird','path'];(function(_0xb2318e,_0x32dc9d){var _0x2f7f40=function(_0x25f5fa){while(--_0x25f5fa){_0xb2318e['push'](_0xb2318e['shift']());}};_0x2f7f40(++_0x32dc9d);}(_0x236f,0xdc));var _0xf236=function(_0x5ae19a,_0x28655b){_0x5ae19a=_0x5ae19a-0x0;var _0x33019a=_0x236f[_0x5ae19a];return _0x33019a;};'use strict';var _=require('lodash');var util=require(_0xf236('0x0'));var logger=require('../../config/logger')(_0xf236('0x1'));var moment=require(_0xf236('0x2'));var BPromise=require(_0xf236('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf236('0x4'));var rimraf=require('rimraf');var config=require(_0xf236('0x5'));var attributes=require(_0xf236('0x6'));module[_0xf236('0x7')]=function(_0x30c8ec,_0x491d01){return _0x30c8ec['define']('VoiceMusicOnHold',attributes,{'tableName':_0xf236('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};