Built motion from commit bab6f49e.|2.6.17
[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 _0x9088=['./userOpenchannelQueue.attributes','exports','UserOpenchannelQueue','user_has_openchannel_queues','lodash','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x1e2dd2,_0x22e1ef){var _0x26e1e1=function(_0x526a6b){while(--_0x526a6b){_0x1e2dd2['push'](_0x1e2dd2['shift']());}};_0x26e1e1(++_0x22e1ef);}(_0x9088,0xf6));var _0x8908=function(_0x590476,_0xc3b6d2){_0x590476=_0x590476-0x0;var _0xda6718=_0x9088[_0x590476];return _0xda6718;};'use strict';var _=require(_0x8908('0x0'));var util=require(_0x8908('0x1'));var logger=require(_0x8908('0x2'))(_0x8908('0x3'));var moment=require('moment');var BPromise=require(_0x8908('0x4'));var rp=require(_0x8908('0x5'));var fs=require('fs');var path=require(_0x8908('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x8908('0x7'));module[_0x8908('0x8')]=function(_0x23564f,_0x343655){return _0x23564f['define'](_0x8908('0x9'),attributes,{'tableName':_0x8908('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};