Built motion from commit 092f8824.|2.5.49
[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 _0xff98=['report_sms_transfer','uniqueid','util','../../config/logger','api','moment','request-promise','rimraf','./smsTransferReport.attributes','define','SmsTransferReport'];(function(_0x183256,_0x1a596d){var _0x5394a2=function(_0x192025){while(--_0x192025){_0x183256['push'](_0x183256['shift']());}};_0x5394a2(++_0x1a596d);}(_0xff98,0x9c));var _0x8ff9=function(_0x58bac3,_0x11707f){_0x58bac3=_0x58bac3-0x0;var _0x3c7988=_0xff98[_0x58bac3];return _0x3c7988;};'use strict';var _=require('lodash');var util=require(_0x8ff9('0x0'));var logger=require(_0x8ff9('0x1'))(_0x8ff9('0x2'));var moment=require(_0x8ff9('0x3'));var BPromise=require('bluebird');var rp=require(_0x8ff9('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8ff9('0x5'));var config=require('../../config/environment');var attributes=require(_0x8ff9('0x6'));module['exports']=function(_0x7b1d31,_0x2c11a2){return _0x7b1d31[_0x8ff9('0x7')](_0x8ff9('0x8'),attributes,{'tableName':_0x8ff9('0x9'),'paranoid':![],'indexes':[{'name':_0x8ff9('0xa'),'fields':[_0x8ff9('0xa')]}],'timestamps':!![]});};