350f9911d1a07319e8d1ff29246f8aea75bb581c
[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 _0x05f7=['../../config/environment','define','openchannel_queues','api','moment','bluebird','path','rimraf'];(function(_0x1d994f,_0x1b45db){var _0x167c46=function(_0x8bb705){while(--_0x8bb705){_0x1d994f['push'](_0x1d994f['shift']());}};_0x167c46(++_0x1b45db);}(_0x05f7,0x14b));var _0x705f=function(_0x460fd7,_0x2012db){_0x460fd7=_0x460fd7-0x0;var _0x44d1c2=_0x05f7[_0x460fd7];return _0x44d1c2;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x705f('0x0'));var moment=require(_0x705f('0x1'));var BPromise=require(_0x705f('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x705f('0x3'));var rimraf=require(_0x705f('0x4'));var config=require(_0x705f('0x5'));var attributes=require('./openchannelQueue.attributes');module['exports']=function(_0x3374b5,_0x3f3c10){return _0x3374b5[_0x705f('0x6')]('OpenchannelQueue',attributes,{'tableName':_0x705f('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};