Built motion from commit bab6f49e.|2.6.17
[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 _0x2366=['../../config/environment','./openchannelQueue.attributes','define','OpenchannelQueue','openchannel_queues','../../config/logger','request-promise','path','rimraf'];(function(_0x4daeb9,_0x3d7dc6){var _0x4d1aa1=function(_0x5a826d){while(--_0x5a826d){_0x4daeb9['push'](_0x4daeb9['shift']());}};_0x4d1aa1(++_0x3d7dc6);}(_0x2366,0x1ac));var _0x6236=function(_0xf26c2e,_0x56c3ea){_0xf26c2e=_0xf26c2e-0x0;var _0x46ecb4=_0x2366[_0xf26c2e];return _0x46ecb4;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6236('0x0'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x6236('0x1'));var fs=require('fs');var path=require(_0x6236('0x2'));var rimraf=require(_0x6236('0x3'));var config=require(_0x6236('0x4'));var attributes=require(_0x6236('0x5'));module['exports']=function(_0x4d6e87,_0x4ec6e5){return _0x4d6e87[_0x6236('0x6')](_0x6236('0x7'),attributes,{'tableName':_0x6236('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};