0199942cec13ae6d4ba5f2446bf2cc049a8b20ec
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.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 _0x8e49=['./userVoiceQueueRt.attributes','define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util','../../config/logger','path','rimraf','../../config/environment'];(function(_0x1130ac,_0x4246c1){var _0x4124af=function(_0x28bb66){while(--_0x28bb66){_0x1130ac['push'](_0x1130ac['shift']());}};_0x4124af(++_0x4246c1);}(_0x8e49,0x144));var _0x98e4=function(_0xfb0281,_0x3ff38b){_0xfb0281=_0xfb0281-0x0;var _0x408dd3=_0x8e49[_0xfb0281];return _0x408dd3;};'use strict';var _=require(_0x98e4('0x0'));var util=require(_0x98e4('0x1'));var logger=require(_0x98e4('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x98e4('0x3'));var rimraf=require(_0x98e4('0x4'));var config=require(_0x98e4('0x5'));var attributes=require(_0x98e4('0x6'));module['exports']=function(_0x9171df,_0xdcd7ac){return _0x9171df[_0x98e4('0x7')](_0x98e4('0x8'),attributes,{'tableName':_0x98e4('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};