7925e914c2a8eac9b40bdcc0d82e2f980f7590c7
[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 _0x8a26=['rimraf','../../config/environment','./openchannelQueue.attributes','define','lodash','util','../../config/logger','api','moment','bluebird','path'];(function(_0x2fb356,_0x567092){var _0x27fb4b=function(_0x11c996){while(--_0x11c996){_0x2fb356['push'](_0x2fb356['shift']());}};_0x27fb4b(++_0x567092);}(_0x8a26,0x17a));var _0x68a2=function(_0x359669,_0x48b75c){_0x359669=_0x359669-0x0;var _0x4e032c=_0x8a26[_0x359669];return _0x4e032c;};'use strict';var _=require(_0x68a2('0x0'));var util=require(_0x68a2('0x1'));var logger=require(_0x68a2('0x2'))(_0x68a2('0x3'));var moment=require(_0x68a2('0x4'));var BPromise=require(_0x68a2('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x68a2('0x6'));var rimraf=require(_0x68a2('0x7'));var config=require(_0x68a2('0x8'));var attributes=require(_0x68a2('0x9'));module['exports']=function(_0x414a6d,_0x3b5b6a){return _0x414a6d[_0x68a2('0xa')]('OpenchannelQueue',attributes,{'tableName':'openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};