Built motion from commit (unavailable).|2.5.23
[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 _0x769d=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','OpenchannelQueue','openchannel_queues','lodash','util'];(function(_0x1629db,_0x20237b){var _0x5a704e=function(_0x2959c9){while(--_0x2959c9){_0x1629db['push'](_0x1629db['shift']());}};_0x5a704e(++_0x20237b);}(_0x769d,0x132));var _0xd769=function(_0x25f264,_0x5d391e){_0x25f264=_0x25f264-0x0;var _0x416de0=_0x769d[_0x25f264];return _0x416de0;};'use strict';var _=require(_0xd769('0x0'));var util=require(_0xd769('0x1'));var logger=require(_0xd769('0x2'))(_0xd769('0x3'));var moment=require(_0xd769('0x4'));var BPromise=require(_0xd769('0x5'));var rp=require(_0xd769('0x6'));var fs=require('fs');var path=require(_0xd769('0x7'));var rimraf=require(_0xd769('0x8'));var config=require(_0xd769('0x9'));var attributes=require('./openchannelQueue.attributes');module[_0xd769('0xa')]=function(_0x313994,_0x4405b4){return _0x313994[_0xd769('0xb')](_0xd769('0xc'),attributes,{'tableName':_0xd769('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};