a2b51265cef8ab770f42ac95b9347b93de58d5fc
[motion2.git] / server / api / userMailQueue / userMailQueue.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 _0xa6f1=['UserMailQueue','user_has_mail_queues','lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment','./userMailQueue.attributes','exports','define'];(function(_0x397741,_0x291896){var _0x3a81c3=function(_0x195c72){while(--_0x195c72){_0x397741['push'](_0x397741['shift']());}};_0x3a81c3(++_0x291896);}(_0xa6f1,0x113));var _0x1a6f=function(_0x503ec3,_0x5f851e){_0x503ec3=_0x503ec3-0x0;var _0x4ce7cf=_0xa6f1[_0x503ec3];return _0x4ce7cf;};'use strict';var _=require(_0x1a6f('0x0'));var util=require(_0x1a6f('0x1'));var logger=require(_0x1a6f('0x2'))(_0x1a6f('0x3'));var moment=require(_0x1a6f('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x1a6f('0x5'));var rimraf=require(_0x1a6f('0x6'));var config=require(_0x1a6f('0x7'));var attributes=require(_0x1a6f('0x8'));module[_0x1a6f('0x9')]=function(_0x44a5df,_0x5bffa1){return _0x44a5df[_0x1a6f('0xa')](_0x1a6f('0xb'),attributes,{'tableName':_0x1a6f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};