Built motion from commit (unavailable).|2.4.17
[motion2.git] / server / api / userChatQueue / userChatQueue.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 _0x0fdf=['../../config/environment','./userChatQueue.attributes','UserChatQueue','user_has_chat_queues','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x24595c,_0x12d14c){var _0x22b8d0=function(_0x23be6a){while(--_0x23be6a){_0x24595c['push'](_0x24595c['shift']());}};_0x22b8d0(++_0x12d14c);}(_0x0fdf,0x79));var _0xf0fd=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x0fdf[_0x20a584];return _0x4b41a8;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xf0fd('0x0'))('api');var moment=require(_0xf0fd('0x1'));var BPromise=require(_0xf0fd('0x2'));var rp=require(_0xf0fd('0x3'));var fs=require('fs');var path=require(_0xf0fd('0x4'));var rimraf=require('rimraf');var config=require(_0xf0fd('0x5'));var attributes=require(_0xf0fd('0x6'));module['exports']=function(_0x4cab36,_0x2df3f0){return _0x4cab36['define'](_0xf0fd('0x7'),attributes,{'tableName':_0xf0fd('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};