1010c5466774d8aee790383907ffb8656dec8c12
[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 _0x775a=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueue.attributes','exports','define','OpenchannelQueue','openchannel_queues','lodash','util'];(function(_0xe896bf,_0x4f8e5e){var _0x4c7a8a=function(_0x410ff2){while(--_0x410ff2){_0xe896bf['push'](_0xe896bf['shift']());}};_0x4c7a8a(++_0x4f8e5e);}(_0x775a,0xde));var _0xa775=function(_0x10c4ce,_0x1cd053){_0x10c4ce=_0x10c4ce-0x0;var _0x1b937a=_0x775a[_0x10c4ce];return _0x1b937a;};'use strict';var _=require(_0xa775('0x0'));var util=require(_0xa775('0x1'));var logger=require('../../config/logger')(_0xa775('0x2'));var moment=require(_0xa775('0x3'));var BPromise=require(_0xa775('0x4'));var rp=require(_0xa775('0x5'));var fs=require('fs');var path=require(_0xa775('0x6'));var rimraf=require(_0xa775('0x7'));var config=require(_0xa775('0x8'));var attributes=require(_0xa775('0x9'));module[_0xa775('0xa')]=function(_0x110d24,_0x9dd65){return _0x110d24[_0xa775('0xb')](_0xa775('0xc'),attributes,{'tableName':_0xa775('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};