Built motion from commit 19a84241.|2.5.34
[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 _0x4123=['path','rimraf','./openchannelQueue.attributes','exports','define','OpenchannelQueue','openchannel_queues','lodash','api','moment','bluebird','request-promise'];(function(_0xb6e43,_0x1568fc){var _0x47c40f=function(_0x107786){while(--_0x107786){_0xb6e43['push'](_0xb6e43['shift']());}};_0x47c40f(++_0x1568fc);}(_0x4123,0x127));var _0x3412=function(_0x53decc,_0x4b7e71){_0x53decc=_0x53decc-0x0;var _0x57bf41=_0x4123[_0x53decc];return _0x57bf41;};'use strict';var _=require(_0x3412('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x3412('0x1'));var moment=require(_0x3412('0x2'));var BPromise=require(_0x3412('0x3'));var rp=require(_0x3412('0x4'));var fs=require('fs');var path=require(_0x3412('0x5'));var rimraf=require(_0x3412('0x6'));var config=require('../../config/environment');var attributes=require(_0x3412('0x7'));module[_0x3412('0x8')]=function(_0x965066,_0x56582e){return _0x965066[_0x3412('0x9')](_0x3412('0xa'),attributes,{'tableName':_0x3412('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};