Built motion from commit 9d0783e6.|2.6.13
[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 _0xf69a=['request-promise','path','rimraf','./mailQueue.attributes','exports','define','lodash','util','../../config/logger','api','moment'];(function(_0x4b793b,_0x1ee112){var _0xcfbd6a=function(_0x2eb91c){while(--_0x2eb91c){_0x4b793b['push'](_0x4b793b['shift']());}};_0xcfbd6a(++_0x1ee112);}(_0xf69a,0x187));var _0xaf69=function(_0x34068f,_0x5758e4){_0x34068f=_0x34068f-0x0;var _0x351894=_0xf69a[_0x34068f];return _0x351894;};'use strict';var _=require(_0xaf69('0x0'));var util=require(_0xaf69('0x1'));var logger=require(_0xaf69('0x2'))(_0xaf69('0x3'));var moment=require(_0xaf69('0x4'));var BPromise=require('bluebird');var rp=require(_0xaf69('0x5'));var fs=require('fs');var path=require(_0xaf69('0x6'));var rimraf=require(_0xaf69('0x7'));var config=require('../../config/environment');var attributes=require(_0xaf69('0x8'));module[_0xaf69('0x9')]=function(_0x5108d8,_0x99b418){return _0x5108d8[_0xaf69('0xa')]('MailQueue',attributes,{'tableName':'mail_queues','paranoid':![],'indexes':[],'timestamps':!![]});};