Built motion from commit 85328c08.|2.5.50
[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 _0x8327=['UserOpenchannelQueue','user_has_openchannel_queues','lodash','util','moment','bluebird','request-promise','rimraf','./userOpenchannelQueue.attributes','exports','define'];(function(_0x1f8cf7,_0xc62474){var _0x5ac9d4=function(_0x5a6cf0){while(--_0x5a6cf0){_0x1f8cf7['push'](_0x1f8cf7['shift']());}};_0x5ac9d4(++_0xc62474);}(_0x8327,0x14c));var _0x7832=function(_0x398b38,_0x382922){_0x398b38=_0x398b38-0x0;var _0x10b0ac=_0x8327[_0x398b38];return _0x10b0ac;};'use strict';var _=require(_0x7832('0x0'));var util=require(_0x7832('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x7832('0x2'));var BPromise=require(_0x7832('0x3'));var rp=require(_0x7832('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7832('0x5'));var config=require('../../config/environment');var attributes=require(_0x7832('0x6'));module[_0x7832('0x7')]=function(_0x430eb3,_0x177447){return _0x430eb3[_0x7832('0x8')](_0x7832('0x9'),attributes,{'tableName':_0x7832('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};