cecf9d9a0b21f59c78bacf8266d815ead4ffa454
[motion2.git] / server / api / mailQueue / mailQueue.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 _0x175e=['lodash','util','../../config/logger','api','moment','bluebird','path','../../config/environment','./mailQueue.attributes','exports','define','mail_queues'];(function(_0x43fbbb,_0x422915){var _0x3711f3=function(_0x4baa9e){while(--_0x4baa9e){_0x43fbbb['push'](_0x43fbbb['shift']());}};_0x3711f3(++_0x422915);}(_0x175e,0x120));var _0xe175=function(_0x59ff3f,_0x209521){_0x59ff3f=_0x59ff3f-0x0;var _0x1edcf4=_0x175e[_0x59ff3f];return _0x1edcf4;};'use strict';var _=require(_0xe175('0x0'));var util=require(_0xe175('0x1'));var logger=require(_0xe175('0x2'))(_0xe175('0x3'));var moment=require(_0xe175('0x4'));var BPromise=require(_0xe175('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe175('0x6'));var rimraf=require('rimraf');var config=require(_0xe175('0x7'));var attributes=require(_0xe175('0x8'));module[_0xe175('0x9')]=function(_0x431368,_0x3c3610){return _0x431368[_0xe175('0xa')]('MailQueue',attributes,{'tableName':_0xe175('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};