Built motion from commit (unavailable).|2.5.9
[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 _0x67f8=['../../config/environment','./mailQueue.attributes','exports','define','MailQueue','mail_queues','util','../../config/logger','api','path','rimraf'];(function(_0x3d7ac4,_0x172520){var _0x585a94=function(_0x4196d8){while(--_0x4196d8){_0x3d7ac4['push'](_0x3d7ac4['shift']());}};_0x585a94(++_0x172520);}(_0x67f8,0xab));var _0x867f=function(_0x1477ef,_0x54a5d6){_0x1477ef=_0x1477ef-0x0;var _0x164acd=_0x67f8[_0x1477ef];return _0x164acd;};'use strict';var _=require('lodash');var util=require(_0x867f('0x0'));var logger=require(_0x867f('0x1'))(_0x867f('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x867f('0x3'));var rimraf=require(_0x867f('0x4'));var config=require(_0x867f('0x5'));var attributes=require(_0x867f('0x6'));module[_0x867f('0x7')]=function(_0x5a1ff1,_0x49df92){return _0x5a1ff1[_0x867f('0x8')](_0x867f('0x9'),attributes,{'tableName':_0x867f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};