f5914f6da3f882ed48d62744ac9b93522e43f022
[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 _0xfa1e=['../../config/environment','./openchannelQueue.attributes','exports','OpenchannelQueue','openchannel_queues','lodash','util','../../config/logger','api','request-promise','rimraf'];(function(_0x4b2773,_0x5a12be){var _0x1c4fc2=function(_0x5e9332){while(--_0x5e9332){_0x4b2773['push'](_0x4b2773['shift']());}};_0x1c4fc2(++_0x5a12be);}(_0xfa1e,0x102));var _0xefa1=function(_0x5093e9,_0x5154d0){_0x5093e9=_0x5093e9-0x0;var _0x4c9a22=_0xfa1e[_0x5093e9];return _0x4c9a22;};'use strict';var _=require(_0xefa1('0x0'));var util=require(_0xefa1('0x1'));var logger=require(_0xefa1('0x2'))(_0xefa1('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xefa1('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xefa1('0x5'));var config=require(_0xefa1('0x6'));var attributes=require(_0xefa1('0x7'));module[_0xefa1('0x8')]=function(_0x22315d,_0x599473){return _0x22315d['define'](_0xefa1('0x9'),attributes,{'tableName':_0xefa1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};