2d3c1ab3af2b5fe1a28f2dca5377c3fa97fde6ca
[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 _0xa6ff=['openchannel_queues','util','api','moment','bluebird','path','./openchannelQueue.attributes','define'];(function(_0x4f1da5,_0x4ced17){var _0xe972a8=function(_0x278ba3){while(--_0x278ba3){_0x4f1da5['push'](_0x4f1da5['shift']());}};_0xe972a8(++_0x4ced17);}(_0xa6ff,0x109));var _0xfa6f=function(_0xfabe1,_0x263f08){_0xfabe1=_0xfabe1-0x0;var _0x1750f8=_0xa6ff[_0xfabe1];return _0x1750f8;};'use strict';var _=require('lodash');var util=require(_0xfa6f('0x0'));var logger=require('../../config/logger')(_0xfa6f('0x1'));var moment=require(_0xfa6f('0x2'));var BPromise=require(_0xfa6f('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfa6f('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xfa6f('0x5'));module['exports']=function(_0x557f9c,_0x5a6ddf){return _0x557f9c[_0xfa6f('0x6')]('OpenchannelQueue',attributes,{'tableName':_0xfa6f('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};