Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / smsTransferReport / smsTransferReport.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 _0x0967=['request-promise','../../config/environment','./smsTransferReport.attributes','exports','define','SmsTransferReport','report_sms_transfer','uniqueid','lodash','api','moment'];(function(_0x1852c5,_0x486cab){var _0x24f22c=function(_0x2e7b44){while(--_0x2e7b44){_0x1852c5['push'](_0x1852c5['shift']());}};_0x24f22c(++_0x486cab);}(_0x0967,0x173));var _0x7096=function(_0xffac67,_0xa4656){_0xffac67=_0xffac67-0x0;var _0x1b9dea=_0x0967[_0xffac67];return _0x1b9dea;};'use strict';var _=require(_0x7096('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x7096('0x1'));var moment=require(_0x7096('0x2'));var BPromise=require('bluebird');var rp=require(_0x7096('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x7096('0x4'));var attributes=require(_0x7096('0x5'));module[_0x7096('0x6')]=function(_0x349de2,_0x58f55b){return _0x349de2[_0x7096('0x7')](_0x7096('0x8'),attributes,{'tableName':_0x7096('0x9'),'paranoid':![],'indexes':[{'name':_0x7096('0xa'),'fields':[_0x7096('0xa')]}],'timestamps':!![]});};