Built motion from commit (unavailable).|2.2.0
[motion2.git] / server / api / chatQueue / chatQueue.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 _0xf69d=['ChatQueue','chat_queues','lodash','util','../../config/logger','api','moment','request-promise','./chatQueue.attributes','exports','define'];(function(_0x41e3ad,_0x186c0d){var _0x28c333=function(_0xf2a819){while(--_0xf2a819){_0x41e3ad['push'](_0x41e3ad['shift']());}};_0x28c333(++_0x186c0d);}(_0xf69d,0xd3));var _0xdf69=function(_0x1daead,_0xea5cf1){_0x1daead=_0x1daead-0x0;var _0x5d3a89=_0xf69d[_0x1daead];return _0x5d3a89;};'use strict';var _=require(_0xdf69('0x0'));var util=require(_0xdf69('0x1'));var logger=require(_0xdf69('0x2'))(_0xdf69('0x3'));var moment=require(_0xdf69('0x4'));var BPromise=require('bluebird');var rp=require(_0xdf69('0x5'));var attributes=require(_0xdf69('0x6'));module[_0xdf69('0x7')]=function(_0x13ecb6,_0x177ff7){return _0x13ecb6[_0xdf69('0x8')](_0xdf69('0x9'),attributes,{'tableName':_0xdf69('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};