01f12ee40735d19e720cf5a8c7567e3c449ba0f9
[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 _0x6f5d=['exports','VoiceMusicOnHold','voice_musiconhold','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceMusicOnHold.attributes'];(function(_0x53a0d0,_0x5df444){var _0xf2a8c5=function(_0x2b484d){while(--_0x2b484d){_0x53a0d0['push'](_0x53a0d0['shift']());}};_0xf2a8c5(++_0x5df444);}(_0x6f5d,0x161));var _0xd6f5=function(_0x5b3410,_0xd1c7d3){_0x5b3410=_0x5b3410-0x0;var _0x44fa2e=_0x6f5d[_0x5b3410];return _0x44fa2e;};'use strict';var _=require(_0xd6f5('0x0'));var util=require(_0xd6f5('0x1'));var logger=require(_0xd6f5('0x2'))(_0xd6f5('0x3'));var moment=require(_0xd6f5('0x4'));var BPromise=require(_0xd6f5('0x5'));var rp=require(_0xd6f5('0x6'));var fs=require('fs');var path=require(_0xd6f5('0x7'));var rimraf=require(_0xd6f5('0x8'));var config=require(_0xd6f5('0x9'));var attributes=require(_0xd6f5('0xa'));module[_0xd6f5('0xb')]=function(_0x34cf1b,_0x40607a){return _0x34cf1b['define'](_0xd6f5('0xc'),attributes,{'tableName':_0xd6f5('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};