ebc4144f15679df45b0a62cbf328a67b24bc5060
[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 _0x0454=['./openchannelQueue.attributes','OpenchannelQueue','openchannel_queues','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x220e23,_0x5e003b){var _0xbe5998=function(_0x28fda0){while(--_0x28fda0){_0x220e23['push'](_0x220e23['shift']());}};_0xbe5998(++_0x5e003b);}(_0x0454,0x92));var _0x4045=function(_0x1ed9a7,_0x190c0b){_0x1ed9a7=_0x1ed9a7-0x0;var _0x2ea904=_0x0454[_0x1ed9a7];return _0x2ea904;};'use strict';var _=require(_0x4045('0x0'));var util=require(_0x4045('0x1'));var logger=require(_0x4045('0x2'))('api');var moment=require(_0x4045('0x3'));var BPromise=require(_0x4045('0x4'));var rp=require(_0x4045('0x5'));var fs=require('fs');var path=require(_0x4045('0x6'));var rimraf=require(_0x4045('0x7'));var config=require('../../config/environment');var attributes=require(_0x4045('0x8'));module['exports']=function(_0x375a59,_0x36aaa1){return _0x375a59['define'](_0x4045('0x9'),attributes,{'tableName':_0x4045('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};