Built motion from commit 9d0783e6.|2.6.13
[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 _0xc80f=['../../config/environment','./smsTransferReport.attributes','exports','SmsTransferReport','report_sms_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x261df0,_0x3598f5){var _0x9960b=function(_0x375aeb){while(--_0x375aeb){_0x261df0['push'](_0x261df0['shift']());}};_0x9960b(++_0x3598f5);}(_0xc80f,0x7e));var _0xfc80=function(_0x2c5b1d,_0x20dcf3){_0x2c5b1d=_0x2c5b1d-0x0;var _0x53238a=_0xc80f[_0x2c5b1d];return _0x53238a;};'use strict';var _=require(_0xfc80('0x0'));var util=require(_0xfc80('0x1'));var logger=require(_0xfc80('0x2'))(_0xfc80('0x3'));var moment=require(_0xfc80('0x4'));var BPromise=require(_0xfc80('0x5'));var rp=require(_0xfc80('0x6'));var fs=require('fs');var path=require(_0xfc80('0x7'));var rimraf=require(_0xfc80('0x8'));var config=require(_0xfc80('0x9'));var attributes=require(_0xfc80('0xa'));module[_0xfc80('0xb')]=function(_0x5d4560,_0xd96921){return _0x5d4560['define'](_0xfc80('0xc'),attributes,{'tableName':_0xfc80('0xd'),'paranoid':![],'indexes':[{'name':_0xfc80('0xe'),'fields':[_0xfc80('0xe')]}],'timestamps':!![]});};