0a6c3311e1b7631e88f6cde7208d641d632f195a
[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 _0xdfc8=['path','rimraf','../../config/environment','./openchannelQueue.attributes','exports','define','OpenchannelQueue','lodash','util','api','moment','bluebird'];(function(_0x4d821c,_0x22bd0e){var _0x15dd5b=function(_0x20e8f2){while(--_0x20e8f2){_0x4d821c['push'](_0x4d821c['shift']());}};_0x15dd5b(++_0x22bd0e);}(_0xdfc8,0x127));var _0x8dfc=function(_0x3a08d7,_0xb3d0eb){_0x3a08d7=_0x3a08d7-0x0;var _0xb4a103=_0xdfc8[_0x3a08d7];return _0xb4a103;};'use strict';var _=require(_0x8dfc('0x0'));var util=require(_0x8dfc('0x1'));var logger=require('../../config/logger')(_0x8dfc('0x2'));var moment=require(_0x8dfc('0x3'));var BPromise=require(_0x8dfc('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8dfc('0x5'));var rimraf=require(_0x8dfc('0x6'));var config=require(_0x8dfc('0x7'));var attributes=require(_0x8dfc('0x8'));module[_0x8dfc('0x9')]=function(_0x15b128,_0x2f547a){return _0x15b128[_0x8dfc('0xa')](_0x8dfc('0xb'),attributes,{'tableName':'openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};