90c6a769e1b9e0e347ff9ed3e9afa24d78d197b7
[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 _0x0f0a=['lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./openchannelQueue.attributes','exports','define','openchannel_queues'];(function(_0x125a77,_0x5ca9a9){var _0x303b64=function(_0x8ae0e0){while(--_0x8ae0e0){_0x125a77['push'](_0x125a77['shift']());}};_0x303b64(++_0x5ca9a9);}(_0x0f0a,0x6c));var _0xa0f0=function(_0x507188,_0x5b0cac){_0x507188=_0x507188-0x0;var _0x597cda=_0x0f0a[_0x507188];return _0x597cda;};'use strict';var _=require(_0xa0f0('0x0'));var util=require(_0xa0f0('0x1'));var logger=require(_0xa0f0('0x2'))(_0xa0f0('0x3'));var moment=require('moment');var BPromise=require(_0xa0f0('0x4'));var rp=require(_0xa0f0('0x5'));var fs=require('fs');var path=require(_0xa0f0('0x6'));var rimraf=require('rimraf');var config=require(_0xa0f0('0x7'));var attributes=require(_0xa0f0('0x8'));module[_0xa0f0('0x9')]=function(_0x475050,_0x434e69){return _0x475050[_0xa0f0('0xa')]('OpenchannelQueue',attributes,{'tableName':_0xa0f0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};