Built motion from commit 00bf23f6.|2.6.16
[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 _0xa867=['moment','bluebird','rimraf','../../config/environment','./chatQueue.attributes','ChatQueue','chat_queues','../../config/logger'];(function(_0x356a58,_0x342f53){var _0xf9502=function(_0x445bcb){while(--_0x445bcb){_0x356a58['push'](_0x356a58['shift']());}};_0xf9502(++_0x342f53);}(_0xa867,0xa7));var _0x7a86=function(_0x44d385,_0xf9587a){_0x44d385=_0x44d385-0x0;var _0x4e69da=_0xa867[_0x44d385];return _0x4e69da;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x7a86('0x0'))('api');var moment=require(_0x7a86('0x1'));var BPromise=require(_0x7a86('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x7a86('0x3'));var config=require(_0x7a86('0x4'));var attributes=require(_0x7a86('0x5'));module['exports']=function(_0x825477,_0x39733a){return _0x825477['define'](_0x7a86('0x6'),attributes,{'tableName':_0x7a86('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};