cc5273808725c5ba766b6fd1e45668f2143754b8
[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 _0x9bc6=['bluebird','request-promise','rimraf','./chatQueue.attributes','exports','define','lodash','util','../../config/logger','api'];(function(_0x409d27,_0x1d5525){var _0xcf1d4c=function(_0x5a88be){while(--_0x5a88be){_0x409d27['push'](_0x409d27['shift']());}};_0xcf1d4c(++_0x1d5525);}(_0x9bc6,0x1be));var _0x69bc=function(_0x56b540,_0x37f450){_0x56b540=_0x56b540-0x0;var _0xf62ffc=_0x9bc6[_0x56b540];return _0xf62ffc;};'use strict';var _=require(_0x69bc('0x0'));var util=require(_0x69bc('0x1'));var logger=require(_0x69bc('0x2'))(_0x69bc('0x3'));var moment=require('moment');var BPromise=require(_0x69bc('0x4'));var rp=require(_0x69bc('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x69bc('0x6'));var config=require('../../config/environment');var attributes=require(_0x69bc('0x7'));module[_0x69bc('0x8')]=function(_0xa76574,_0x3bfad3){return _0xa76574[_0x69bc('0x9')]('ChatQueue',attributes,{'tableName':'chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};