Built motion from commit ba71417a.|2.6.28
[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 _0xc997=['../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./smsTransferReport.attributes','exports','define','report_sms_transfer','uniqueid','util'];(function(_0x370fc0,_0x5b0728){var _0x58eb85=function(_0x5179db){while(--_0x5179db){_0x370fc0['push'](_0x370fc0['shift']());}};_0x58eb85(++_0x5b0728);}(_0xc997,0x1ac));var _0x7c99=function(_0x2cba8f,_0x2aa137){_0x2cba8f=_0x2cba8f-0x0;var _0x754fc8=_0xc997[_0x2cba8f];return _0x754fc8;};'use strict';var _=require('lodash');var util=require(_0x7c99('0x0'));var logger=require(_0x7c99('0x1'))(_0x7c99('0x2'));var moment=require(_0x7c99('0x3'));var BPromise=require(_0x7c99('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7c99('0x5'));var rimraf=require(_0x7c99('0x6'));var config=require(_0x7c99('0x7'));var attributes=require(_0x7c99('0x8'));module[_0x7c99('0x9')]=function(_0x404ffb,_0x1a21e1){return _0x404ffb[_0x7c99('0xa')]('SmsTransferReport',attributes,{'tableName':_0x7c99('0xb'),'paranoid':![],'indexes':[{'name':_0x7c99('0xc'),'fields':[_0x7c99('0xc')]}],'timestamps':!![]});};