d00d7e8f75a3b2a3f712a7c7d7f39d9eda403844
[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 _0xb34d=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueue.attributes','define','openchannel_queues'];(function(_0x5d5ab2,_0x1d3681){var _0xb8fe37=function(_0x29a76c){while(--_0x29a76c){_0x5d5ab2['push'](_0x5d5ab2['shift']());}};_0xb8fe37(++_0x1d3681);}(_0xb34d,0x1b0));var _0xdb34=function(_0x52c8c1,_0x2b8e24){_0x52c8c1=_0x52c8c1-0x0;var _0x5cf489=_0xb34d[_0x52c8c1];return _0x5cf489;};'use strict';var _=require('lodash');var util=require(_0xdb34('0x0'));var logger=require(_0xdb34('0x1'))(_0xdb34('0x2'));var moment=require(_0xdb34('0x3'));var BPromise=require(_0xdb34('0x4'));var rp=require(_0xdb34('0x5'));var fs=require('fs');var path=require(_0xdb34('0x6'));var rimraf=require(_0xdb34('0x7'));var config=require(_0xdb34('0x8'));var attributes=require(_0xdb34('0x9'));module['exports']=function(_0x797904,_0x1c7abd){return _0x797904[_0xdb34('0xa')]('OpenchannelQueue',attributes,{'tableName':_0xdb34('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};