Built motion from commit da617fac.|2.6.6
[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 _0xde94=['./userOpenchannelQueue.attributes','UserOpenchannelQueue','user_has_openchannel_queues','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x298a48,_0x45af38){var _0x2c6b20=function(_0x45dbea){while(--_0x45dbea){_0x298a48['push'](_0x298a48['shift']());}};_0x2c6b20(++_0x45af38);}(_0xde94,0x18f));var _0x4de9=function(_0x46c7c1,_0x2e47c0){_0x46c7c1=_0x46c7c1-0x0;var _0x2386f1=_0xde94[_0x46c7c1];return _0x2386f1;};'use strict';var _=require('lodash');var util=require(_0x4de9('0x0'));var logger=require(_0x4de9('0x1'))(_0x4de9('0x2'));var moment=require(_0x4de9('0x3'));var BPromise=require(_0x4de9('0x4'));var rp=require(_0x4de9('0x5'));var fs=require('fs');var path=require(_0x4de9('0x6'));var rimraf=require(_0x4de9('0x7'));var config=require(_0x4de9('0x8'));var attributes=require(_0x4de9('0x9'));module['exports']=function(_0x1eaee1,_0x1cb4ce){return _0x1eaee1['define'](_0x4de9('0xa'),attributes,{'tableName':_0x4de9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};