b912380d7064f7d40fd7867c72be3514893c5bd2
[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 _0x3a64=['user_has_voice_queues_rt','lodash','moment','bluebird','path','rimraf','./userVoiceQueueRt.attributes','define','UserVoiceQueueRt'];(function(_0x4713e7,_0x2ea568){var _0x1873d6=function(_0x55b39d){while(--_0x55b39d){_0x4713e7['push'](_0x4713e7['shift']());}};_0x1873d6(++_0x2ea568);}(_0x3a64,0x18d));var _0x43a6=function(_0x5f309e,_0x66e31){_0x5f309e=_0x5f309e-0x0;var _0x487b5e=_0x3a64[_0x5f309e];return _0x487b5e;};'use strict';var _=require(_0x43a6('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x43a6('0x1'));var BPromise=require(_0x43a6('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x43a6('0x3'));var rimraf=require(_0x43a6('0x4'));var config=require('../../config/environment');var attributes=require(_0x43a6('0x5'));module['exports']=function(_0x53e0c7,_0x216a07){return _0x53e0c7[_0x43a6('0x6')](_0x43a6('0x7'),attributes,{'tableName':_0x43a6('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};