596fb6b35081975ea4949c7863b4e1f8d260c0bf
[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 _0xff8a=['rimraf','../../config/environment','exports','define','VoiceMusicOnHold','voice_musiconhold','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x2d97c0,_0x50729a){var _0x59a2be=function(_0x4c6a73){while(--_0x4c6a73){_0x2d97c0['push'](_0x2d97c0['shift']());}};_0x59a2be(++_0x50729a);}(_0xff8a,0x1b3));var _0xaff8=function(_0x111b78,_0x105839){_0x111b78=_0x111b78-0x0;var _0xb14a88=_0xff8a[_0x111b78];return _0xb14a88;};'use strict';var _=require(_0xaff8('0x0'));var util=require(_0xaff8('0x1'));var logger=require(_0xaff8('0x2'))('api');var moment=require(_0xaff8('0x3'));var BPromise=require(_0xaff8('0x4'));var rp=require(_0xaff8('0x5'));var fs=require('fs');var path=require(_0xaff8('0x6'));var rimraf=require(_0xaff8('0x7'));var config=require(_0xaff8('0x8'));var attributes=require('./voiceMusicOnHold.attributes');module[_0xaff8('0x9')]=function(_0x3b791c,_0x3458fd){return _0x3b791c[_0xaff8('0xa')](_0xaff8('0xb'),attributes,{'tableName':_0xaff8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};