d62cd30dd9e21d2223d576d8087a269d55de5545
[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 _0x891e=['path','rimraf','../../config/environment','./openchannelQueue.attributes','exports','OpenchannelQueue','openchannel_queues','../../config/logger','moment','bluebird','request-promise'];(function(_0x18e38f,_0x26dfe7){var _0x9aabfa=function(_0x14280d){while(--_0x14280d){_0x18e38f['push'](_0x18e38f['shift']());}};_0x9aabfa(++_0x26dfe7);}(_0x891e,0x17d));var _0xe891=function(_0x44c935,_0x3653f0){_0x44c935=_0x44c935-0x0;var _0x465bee=_0x891e[_0x44c935];return _0x465bee;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe891('0x0'))('api');var moment=require(_0xe891('0x1'));var BPromise=require(_0xe891('0x2'));var rp=require(_0xe891('0x3'));var fs=require('fs');var path=require(_0xe891('0x4'));var rimraf=require(_0xe891('0x5'));var config=require(_0xe891('0x6'));var attributes=require(_0xe891('0x7'));module[_0xe891('0x8')]=function(_0x534dff,_0x53b6e8){return _0x534dff['define'](_0xe891('0x9'),attributes,{'tableName':_0xe891('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};