Built motion from commit 10af8726.|2.6.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 _0x548c=['api','request-promise','path','./openchannelQueue.attributes','exports','OpenchannelQueue','openchannel_queues','lodash','util','../../config/logger'];(function(_0x32caf8,_0x49a985){var _0x4dd4a1=function(_0xd68acc){while(--_0xd68acc){_0x32caf8['push'](_0x32caf8['shift']());}};_0x4dd4a1(++_0x49a985);}(_0x548c,0x133));var _0xc548=function(_0x436b1a,_0x43dfcb){_0x436b1a=_0x436b1a-0x0;var _0x2783d9=_0x548c[_0x436b1a];return _0x2783d9;};'use strict';var _=require(_0xc548('0x0'));var util=require(_0xc548('0x1'));var logger=require(_0xc548('0x2'))(_0xc548('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xc548('0x4'));var fs=require('fs');var path=require(_0xc548('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xc548('0x6'));module[_0xc548('0x7')]=function(_0x468d40,_0xf4c011){return _0x468d40['define'](_0xc548('0x8'),attributes,{'tableName':_0xc548('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};