Built motion from commit (unavailable).|2.5.27
[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 _0xa2dd=['../../config/environment','./openchannelQueue.attributes','define','openchannel_queues','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xa2dd,0xea));var _0xda2d=function(_0x18f822,_0x5373e3){_0x18f822=_0x18f822-0x0;var _0x13264b=_0xa2dd[_0x18f822];return _0x13264b;};'use strict';var _=require(_0xda2d('0x0'));var util=require('util');var logger=require(_0xda2d('0x1'))(_0xda2d('0x2'));var moment=require(_0xda2d('0x3'));var BPromise=require(_0xda2d('0x4'));var rp=require(_0xda2d('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xda2d('0x6'));var attributes=require(_0xda2d('0x7'));module['exports']=function(_0xaebb41,_0x3632c5){return _0xaebb41[_0xda2d('0x8')]('OpenchannelQueue',attributes,{'tableName':_0xda2d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};