Built motion from commit (unavailable).|2.5.14
[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 _0x9e89=['define','chat_queues','lodash','util','../../config/logger','bluebird','request-promise','../../config/environment','./chatQueue.attributes','exports'];(function(_0x42a77a,_0x330d1a){var _0xf4ca74=function(_0x26b68c){while(--_0x26b68c){_0x42a77a['push'](_0x42a77a['shift']());}};_0xf4ca74(++_0x330d1a);}(_0x9e89,0x16a));var _0x99e8=function(_0x473a66,_0x597ed9){_0x473a66=_0x473a66-0x0;var _0x18c775=_0x9e89[_0x473a66];return _0x18c775;};'use strict';var _=require(_0x99e8('0x0'));var util=require(_0x99e8('0x1'));var logger=require(_0x99e8('0x2'))('api');var moment=require('moment');var BPromise=require(_0x99e8('0x3'));var rp=require(_0x99e8('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x99e8('0x5'));var attributes=require(_0x99e8('0x6'));module[_0x99e8('0x7')]=function(_0x356a11,_0x2f7112){return _0x356a11[_0x99e8('0x8')]('ChatQueue',attributes,{'tableName':_0x99e8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};