Built motion from commit da617fac.|2.6.6
[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 _0xcf7d=['path','rimraf','../../config/environment','define','openchannel_queues','lodash','../../config/logger','api','bluebird','request-promise'];(function(_0x359572,_0x48c26d){var _0x4b240d=function(_0x402240){while(--_0x402240){_0x359572['push'](_0x359572['shift']());}};_0x4b240d(++_0x48c26d);}(_0xcf7d,0x163));var _0xdcf7=function(_0xf8c409,_0x502fc0){_0xf8c409=_0xf8c409-0x0;var _0x5e4fc0=_0xcf7d[_0xf8c409];return _0x5e4fc0;};'use strict';var _=require(_0xdcf7('0x0'));var util=require('util');var logger=require(_0xdcf7('0x1'))(_0xdcf7('0x2'));var moment=require('moment');var BPromise=require(_0xdcf7('0x3'));var rp=require(_0xdcf7('0x4'));var fs=require('fs');var path=require(_0xdcf7('0x5'));var rimraf=require(_0xdcf7('0x6'));var config=require(_0xdcf7('0x7'));var attributes=require('./openchannelQueue.attributes');module['exports']=function(_0x1a8b19,_0x455901){return _0x1a8b19[_0xdcf7('0x8')]('OpenchannelQueue',attributes,{'tableName':_0xdcf7('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};