420bd2402efd86a7ec3f931557c571dd833ffa0b
[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 _0x7f0e=['exports','openchannel_queues','lodash','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./openchannelQueue.attributes'];(function(_0x243b2f,_0x30aa15){var _0xcb3c2d=function(_0x213bb2){while(--_0x213bb2){_0x243b2f['push'](_0x243b2f['shift']());}};_0xcb3c2d(++_0x30aa15);}(_0x7f0e,0xff));var _0xe7f0=function(_0x1ac595,_0x5d2081){_0x1ac595=_0x1ac595-0x0;var _0x455fff=_0x7f0e[_0x1ac595];return _0x455fff;};'use strict';var _=require(_0xe7f0('0x0'));var util=require('util');var logger=require(_0xe7f0('0x1'))(_0xe7f0('0x2'));var moment=require(_0xe7f0('0x3'));var BPromise=require(_0xe7f0('0x4'));var rp=require(_0xe7f0('0x5'));var fs=require('fs');var path=require(_0xe7f0('0x6'));var rimraf=require('rimraf');var config=require(_0xe7f0('0x7'));var attributes=require(_0xe7f0('0x8'));module[_0xe7f0('0x9')]=function(_0x4e9d8d,_0x27dd6a){return _0x4e9d8d['define']('OpenchannelQueue',attributes,{'tableName':_0xe7f0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};