Built motion from commit 775e2a94.|2.6.3
[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 _0x1499=['define','OpenchannelQueue','openchannel_queues','lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./openchannelQueue.attributes','exports'];(function(_0x41e8ae,_0x107a38){var _0x4c8f9f=function(_0x1a219f){while(--_0x1a219f){_0x41e8ae['push'](_0x41e8ae['shift']());}};_0x4c8f9f(++_0x107a38);}(_0x1499,0x114));var _0x9149=function(_0xd4ea42,_0x178512){_0xd4ea42=_0xd4ea42-0x0;var _0x308847=_0x1499[_0xd4ea42];return _0x308847;};'use strict';var _=require(_0x9149('0x0'));var util=require(_0x9149('0x1'));var logger=require(_0x9149('0x2'))(_0x9149('0x3'));var moment=require(_0x9149('0x4'));var BPromise=require('bluebird');var rp=require(_0x9149('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9149('0x6'));var config=require(_0x9149('0x7'));var attributes=require(_0x9149('0x8'));module[_0x9149('0x9')]=function(_0x1f1104,_0x482ea8){return _0x1f1104[_0x9149('0xa')](_0x9149('0xb'),attributes,{'tableName':_0x9149('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};