03729d10ddd1bafc52a79d0477019d22840ffbbe
[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 _0x929c=['uniqueid','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./smsTransferReport.attributes','SmsTransferReport'];(function(_0x499fd1,_0x1d2c06){var _0x325f5d=function(_0x5ca238){while(--_0x5ca238){_0x499fd1['push'](_0x499fd1['shift']());}};_0x325f5d(++_0x1d2c06);}(_0x929c,0x79));var _0xc929=function(_0x4809f9,_0x280a9f){_0x4809f9=_0x4809f9-0x0;var _0x1db3f7=_0x929c[_0x4809f9];return _0x1db3f7;};'use strict';var _=require(_0xc929('0x0'));var util=require(_0xc929('0x1'));var logger=require(_0xc929('0x2'))(_0xc929('0x3'));var moment=require(_0xc929('0x4'));var BPromise=require(_0xc929('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc929('0x6'));var rimraf=require(_0xc929('0x7'));var config=require(_0xc929('0x8'));var attributes=require(_0xc929('0x9'));module['exports']=function(_0x2b8023,_0x2421df){return _0x2b8023['define'](_0xc929('0xa'),attributes,{'tableName':'report_sms_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xc929('0xb')]}],'timestamps':!![]});};