Built motion from commit d5e4af8c.|2.6.23
[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 _0x66f3=['define','OpenchannelQueue','lodash','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','exports'];(function(_0x1c7ac2,_0x295452){var _0xa6128f=function(_0xf5eee4){while(--_0xf5eee4){_0x1c7ac2['push'](_0x1c7ac2['shift']());}};_0xa6128f(++_0x295452);}(_0x66f3,0x1b0));var _0x366f=function(_0x95ac8b,_0x3706f5){_0x95ac8b=_0x95ac8b-0x0;var _0x5b0792=_0x66f3[_0x95ac8b];return _0x5b0792;};'use strict';var _=require(_0x366f('0x0'));var util=require('util');var logger=require(_0x366f('0x1'))(_0x366f('0x2'));var moment=require('moment');var BPromise=require(_0x366f('0x3'));var rp=require(_0x366f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x366f('0x5'));var config=require(_0x366f('0x6'));var attributes=require('./openchannelQueue.attributes');module[_0x366f('0x7')]=function(_0x598ab6,_0x20a16f){return _0x598ab6[_0x366f('0x8')](_0x366f('0x9'),attributes,{'tableName':'openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};