Built motion from commit (unavailable).|2.0.83
[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 _0x9e09=['mail_substatuses','util','api','bluebird','request-promise','./mailSubstatus.attributes','exports','define','MailSubstatus'];(function(_0x912d27,_0x28e0e3){var _0x31b918=function(_0x1882f7){while(--_0x1882f7){_0x912d27['push'](_0x912d27['shift']());}};_0x31b918(++_0x28e0e3);}(_0x9e09,0x9a));var _0x99e0=function(_0x126558,_0x143c9a){_0x126558=_0x126558-0x0;var _0x1f6d14=_0x9e09[_0x126558];return _0x1f6d14;};'use strict';var _=require('lodash');var util=require(_0x99e0('0x0'));var logger=require('../../config/logger')(_0x99e0('0x1'));var moment=require('moment');var BPromise=require(_0x99e0('0x2'));var rp=require(_0x99e0('0x3'));var attributes=require(_0x99e0('0x4'));module[_0x99e0('0x5')]=function(_0x4b5b35,_0xe5072e){return _0x4b5b35[_0x99e0('0x6')](_0x99e0('0x7'),attributes,{'tableName':_0x99e0('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};