Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / api / userOpenchannelQueue / userOpenchannelQueue.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 _0xa568=['moment','request-promise','path','rimraf','../../config/environment','./userOpenchannelQueue.attributes','exports','define','UserOpenchannelQueue','lodash','util','../../config/logger'];(function(_0x345cea,_0x2b61ea){var _0x5f50ee=function(_0x253545){while(--_0x253545){_0x345cea['push'](_0x345cea['shift']());}};_0x5f50ee(++_0x2b61ea);}(_0xa568,0x1a1));var _0x8a56=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xa568[_0x19950b];return _0x3c6b41;};'use strict';var _=require(_0x8a56('0x0'));var util=require(_0x8a56('0x1'));var logger=require(_0x8a56('0x2'))('api');var moment=require(_0x8a56('0x3'));var BPromise=require('bluebird');var rp=require(_0x8a56('0x4'));var fs=require('fs');var path=require(_0x8a56('0x5'));var rimraf=require(_0x8a56('0x6'));var config=require(_0x8a56('0x7'));var attributes=require(_0x8a56('0x8'));module[_0x8a56('0x9')]=function(_0x2a2594,_0x5169c2){return _0x2a2594[_0x8a56('0xa')](_0x8a56('0xb'),attributes,{'tableName':'user_has_openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};