Built motion from commit 994c64e1.|2.6.1
[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 _0xa9bd=['util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./userOpenchannelQueue.attributes','exports','define','UserOpenchannelQueue','lodash'];(function(_0x2703cf,_0x526b31){var _0x28f18a=function(_0x10e33b){while(--_0x10e33b){_0x2703cf['push'](_0x2703cf['shift']());}};_0x28f18a(++_0x526b31);}(_0xa9bd,0xe3));var _0xda9b=function(_0x33508a,_0x44a5b4){_0x33508a=_0x33508a-0x0;var _0x5bf740=_0xa9bd[_0x33508a];return _0x5bf740;};'use strict';var _=require(_0xda9b('0x0'));var util=require(_0xda9b('0x1'));var logger=require(_0xda9b('0x2'))(_0xda9b('0x3'));var moment=require('moment');var BPromise=require(_0xda9b('0x4'));var rp=require(_0xda9b('0x5'));var fs=require('fs');var path=require(_0xda9b('0x6'));var rimraf=require('rimraf');var config=require(_0xda9b('0x7'));var attributes=require(_0xda9b('0x8'));module[_0xda9b('0x9')]=function(_0x150617,_0x2e3594){return _0x150617[_0xda9b('0xa')](_0xda9b('0xb'),attributes,{'tableName':'user_has_openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};