0e958c6543fdffef59f5dae9a05bbd2297bf9234
[motion2.git] / server / api / mailSubstatus / mailSubstatus.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 _0xa3fe=['lodash','../../config/logger','api','bluebird','request-promise','path','../../config/environment','exports','mail_substatuses'];(function(_0xb99979,_0x128bd8){var _0x850ef8=function(_0x199ef1){while(--_0x199ef1){_0xb99979['push'](_0xb99979['shift']());}};_0x850ef8(++_0x128bd8);}(_0xa3fe,0xd8));var _0xea3f=function(_0x11625a,_0xb263ff){_0x11625a=_0x11625a-0x0;var _0x1d7777=_0xa3fe[_0x11625a];return _0x1d7777;};'use strict';var _=require(_0xea3f('0x0'));var util=require('util');var logger=require(_0xea3f('0x1'))(_0xea3f('0x2'));var moment=require('moment');var BPromise=require(_0xea3f('0x3'));var rp=require(_0xea3f('0x4'));var fs=require('fs');var path=require(_0xea3f('0x5'));var rimraf=require('rimraf');var config=require(_0xea3f('0x6'));var attributes=require('./mailSubstatus.attributes');module[_0xea3f('0x7')]=function(_0x7ea359,_0x4150b2){return _0x7ea359['define']('MailSubstatus',attributes,{'tableName':_0xea3f('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};