Built motion from commit 6db1674d.|2.6.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 _0x2376=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./openchannelQueue.attributes','exports','OpenchannelQueue','openchannel_queues'];(function(_0x40d078,_0x210a77){var _0x46fc81=function(_0x3673da){while(--_0x3673da){_0x40d078['push'](_0x40d078['shift']());}};_0x46fc81(++_0x210a77);}(_0x2376,0xc3));var _0x6237=function(_0x4a8d8e,_0x38f4f9){_0x4a8d8e=_0x4a8d8e-0x0;var _0x53884f=_0x2376[_0x4a8d8e];return _0x53884f;};'use strict';var _=require(_0x6237('0x0'));var util=require(_0x6237('0x1'));var logger=require(_0x6237('0x2'))(_0x6237('0x3'));var moment=require(_0x6237('0x4'));var BPromise=require(_0x6237('0x5'));var rp=require(_0x6237('0x6'));var fs=require('fs');var path=require(_0x6237('0x7'));var rimraf=require(_0x6237('0x8'));var config=require('../../config/environment');var attributes=require(_0x6237('0x9'));module[_0x6237('0xa')]=function(_0xd5d636,_0x4e7c50){return _0xd5d636['define'](_0x6237('0xb'),attributes,{'tableName':_0x6237('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};