Built motion from commit 85328c08.|2.5.50
[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 _0xd8fe=['openchannel_queues','lodash','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','OpenchannelQueue'];(function(_0x52ad93,_0x1422c1){var _0x7f4ff8=function(_0x593ddd){while(--_0x593ddd){_0x52ad93['push'](_0x52ad93['shift']());}};_0x7f4ff8(++_0x1422c1);}(_0xd8fe,0x155));var _0xed8f=function(_0x409353,_0xe9f04d){_0x409353=_0x409353-0x0;var _0x4f4b59=_0xd8fe[_0x409353];return _0x4f4b59;};'use strict';var _=require(_0xed8f('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xed8f('0x1'));var BPromise=require(_0xed8f('0x2'));var rp=require(_0xed8f('0x3'));var fs=require('fs');var path=require(_0xed8f('0x4'));var rimraf=require(_0xed8f('0x5'));var config=require(_0xed8f('0x6'));var attributes=require('./openchannelQueue.attributes');module[_0xed8f('0x7')]=function(_0x501afb,_0xffc79){return _0x501afb['define'](_0xed8f('0x8'),attributes,{'tableName':_0xed8f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};