Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / openchannelQueue / openchannelQueue.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 _0x5632=['exports','define','openchannel_queues','lodash','util','../../config/logger','api','request-promise','path','../../config/environment','./openchannelQueue.attributes'];(function(_0x1beef3,_0x57c4b8){var _0x5af964=function(_0x36f463){while(--_0x36f463){_0x1beef3['push'](_0x1beef3['shift']());}};_0x5af964(++_0x57c4b8);}(_0x5632,0xbe));var _0x2563=function(_0x30d545,_0x1d0fec){_0x30d545=_0x30d545-0x0;var _0x310d50=_0x5632[_0x30d545];return _0x310d50;};'use strict';var _=require(_0x2563('0x0'));var util=require(_0x2563('0x1'));var logger=require(_0x2563('0x2'))(_0x2563('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x2563('0x4'));var fs=require('fs');var path=require(_0x2563('0x5'));var rimraf=require('rimraf');var config=require(_0x2563('0x6'));var attributes=require(_0x2563('0x7'));module[_0x2563('0x8')]=function(_0x2c61f0,_0x36041e){return _0x2c61f0[_0x2563('0x9')]('OpenchannelQueue',attributes,{'tableName':_0x2563('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};