af930bbcd7a640468a3e7294f0ff62776f23eec6
[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 _0x4ac2=['openchannel_queues','util','../../config/logger','moment','bluebird','rimraf','define'];(function(_0x40c74c,_0x42869c){var _0x18f34c=function(_0x231cb2){while(--_0x231cb2){_0x40c74c['push'](_0x40c74c['shift']());}};_0x18f34c(++_0x42869c);}(_0x4ac2,0x6a));var _0x24ac=function(_0x30e827,_0x2113d6){_0x30e827=_0x30e827-0x0;var _0x12843=_0x4ac2[_0x30e827];return _0x12843;};'use strict';var _=require('lodash');var util=require(_0x24ac('0x0'));var logger=require(_0x24ac('0x1'))('api');var moment=require(_0x24ac('0x2'));var BPromise=require(_0x24ac('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x24ac('0x4'));var config=require('../../config/environment');var attributes=require('./openchannelQueue.attributes');module['exports']=function(_0x53e120,_0x1c0b26){return _0x53e120[_0x24ac('0x5')]('OpenchannelQueue',attributes,{'tableName':_0x24ac('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};