Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / userOpenchannelQueue / userOpenchannelQueue.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 _0x9efc=['./userOpenchannelQueue.attributes','exports','UserOpenchannelQueue','user_has_openchannel_queues','util','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x319aa0,_0x5c5ef6){var _0x2c54c5=function(_0x51d9be){while(--_0x51d9be){_0x319aa0['push'](_0x319aa0['shift']());}};_0x2c54c5(++_0x5c5ef6);}(_0x9efc,0x72));var _0xc9ef=function(_0x4e0964,_0x4c179b){_0x4e0964=_0x4e0964-0x0;var _0x34eadf=_0x9efc[_0x4e0964];return _0x34eadf;};'use strict';var _=require('lodash');var util=require(_0xc9ef('0x0'));var logger=require(_0xc9ef('0x1'))(_0xc9ef('0x2'));var moment=require('moment');var BPromise=require(_0xc9ef('0x3'));var rp=require(_0xc9ef('0x4'));var fs=require('fs');var path=require(_0xc9ef('0x5'));var rimraf=require(_0xc9ef('0x6'));var config=require('../../config/environment');var attributes=require(_0xc9ef('0x7'));module[_0xc9ef('0x8')]=function(_0x5c2fbb,_0x26417b){return _0x5c2fbb['define'](_0xc9ef('0x9'),attributes,{'tableName':_0xc9ef('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};