b80ac60d4ef10c3008cca6a2cc163501c6a3cbcc
[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 _0x98cb=['../../config/environment','./openchannelQueue.attributes','exports','define','openchannel_queues','lodash','util','../../config/logger','api','bluebird','path','rimraf'];(function(_0x18ebfb,_0x118829){var _0x202a3e=function(_0x17542b){while(--_0x17542b){_0x18ebfb['push'](_0x18ebfb['shift']());}};_0x202a3e(++_0x118829);}(_0x98cb,0x101));var _0xb98c=function(_0x193cad,_0xc11234){_0x193cad=_0x193cad-0x0;var _0x16d5dd=_0x98cb[_0x193cad];return _0x16d5dd;};'use strict';var _=require(_0xb98c('0x0'));var util=require(_0xb98c('0x1'));var logger=require(_0xb98c('0x2'))(_0xb98c('0x3'));var moment=require('moment');var BPromise=require(_0xb98c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb98c('0x5'));var rimraf=require(_0xb98c('0x6'));var config=require(_0xb98c('0x7'));var attributes=require(_0xb98c('0x8'));module[_0xb98c('0x9')]=function(_0x2e3248,_0x518072){return _0x2e3248[_0xb98c('0xa')]('OpenchannelQueue',attributes,{'tableName':_0xb98c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};