584c7b5a043e82d3388c3285c67ebdb647d07078
[motion2.git] / server / api / chatQueue / chatQueue.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 _0xecc8=['rimraf','../../config/environment','./chatQueue.attributes','define','ChatQueue','chat_queues','../../config/logger','api','request-promise','path'];(function(_0x3db5d0,_0xa1a677){var _0x5ce12c=function(_0x71158){while(--_0x71158){_0x3db5d0['push'](_0x3db5d0['shift']());}};_0x5ce12c(++_0xa1a677);}(_0xecc8,0xb0));var _0x8ecc=function(_0x45f723,_0x2dc573){_0x45f723=_0x45f723-0x0;var _0x516734=_0xecc8[_0x45f723];return _0x516734;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x8ecc('0x0'))(_0x8ecc('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x8ecc('0x2'));var fs=require('fs');var path=require(_0x8ecc('0x3'));var rimraf=require(_0x8ecc('0x4'));var config=require(_0x8ecc('0x5'));var attributes=require(_0x8ecc('0x6'));module['exports']=function(_0x7b7219,_0x36b6d3){return _0x7b7219[_0x8ecc('0x7')](_0x8ecc('0x8'),attributes,{'tableName':_0x8ecc('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};