Built motion from commit (unavailable).|2.5.2
[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 _0x0d5b=['request-promise','path','rimraf','./openchannelQueue.attributes','exports','OpenchannelQueue','bluebird'];(function(_0x27530d,_0x46480a){var _0x59e561=function(_0x395fe9){while(--_0x395fe9){_0x27530d['push'](_0x27530d['shift']());}};_0x59e561(++_0x46480a);}(_0x0d5b,0x19c));var _0xb0d5=function(_0x7e2eb0,_0x17cd58){_0x7e2eb0=_0x7e2eb0-0x0;var _0xd92de4=_0x0d5b[_0x7e2eb0];return _0xd92de4;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xb0d5('0x0'));var rp=require(_0xb0d5('0x1'));var fs=require('fs');var path=require(_0xb0d5('0x2'));var rimraf=require(_0xb0d5('0x3'));var config=require('../../config/environment');var attributes=require(_0xb0d5('0x4'));module[_0xb0d5('0x5')]=function(_0xc4645b,_0x5f1e99){return _0xc4645b['define'](_0xb0d5('0x6'),attributes,{'tableName':'openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};