c3f4e15e819e586a7e1ac46fa13c0fb718232cd5
[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 _0x32ed=['./voiceMusicOnHold.attributes','VoiceMusicOnHold','lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment'];(function(_0x22cb10,_0x20db4f){var _0x38a6f8=function(_0xdb4b16){while(--_0xdb4b16){_0x22cb10['push'](_0x22cb10['shift']());}};_0x38a6f8(++_0x20db4f);}(_0x32ed,0x110));var _0xd32e=function(_0x1690e1,_0x45cfc6){_0x1690e1=_0x1690e1-0x0;var _0x3f720c=_0x32ed[_0x1690e1];return _0x3f720c;};'use strict';var _=require(_0xd32e('0x0'));var util=require(_0xd32e('0x1'));var logger=require(_0xd32e('0x2'))(_0xd32e('0x3'));var moment=require('moment');var BPromise=require(_0xd32e('0x4'));var rp=require(_0xd32e('0x5'));var fs=require('fs');var path=require(_0xd32e('0x6'));var rimraf=require('rimraf');var config=require(_0xd32e('0x7'));var attributes=require(_0xd32e('0x8'));module['exports']=function(_0x348bc9,_0xa13bb3){return _0x348bc9['define'](_0xd32e('0x9'),attributes,{'tableName':'voice_musiconhold','paranoid':![],'indexes':[],'timestamps':!![]});};