Built motion from commit (unavailable).|2.5.11
[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 _0x6594=['exports','define','openchannel_queues','moment','bluebird','request-promise','path','rimraf'];(function(_0x2f5673,_0x1cd93f){var _0x35b810=function(_0x46a3de){while(--_0x46a3de){_0x2f5673['push'](_0x2f5673['shift']());}};_0x35b810(++_0x1cd93f);}(_0x6594,0xcb));var _0x4659=function(_0x5e8295,_0x4fcee0){_0x5e8295=_0x5e8295-0x0;var _0x2b08aa=_0x6594[_0x5e8295];return _0x2b08aa;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x4659('0x0'));var BPromise=require(_0x4659('0x1'));var rp=require(_0x4659('0x2'));var fs=require('fs');var path=require(_0x4659('0x3'));var rimraf=require(_0x4659('0x4'));var config=require('../../config/environment');var attributes=require('./openchannelQueue.attributes');module[_0x4659('0x5')]=function(_0x2f59ce,_0x246729){return _0x2f59ce[_0x4659('0x6')]('OpenchannelQueue',attributes,{'tableName':_0x4659('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};