1291df3957faa5d9b6333ee8e869671cc7992cdb
[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 _0xacb8=['./smsTransferReport.attributes','exports','define','report_sms_transfer','uniqueid','lodash','../../config/logger','api','moment','request-promise','path','../../config/environment'];(function(_0x40878e,_0x2755fe){var _0x5290c2=function(_0xcd088){while(--_0xcd088){_0x40878e['push'](_0x40878e['shift']());}};_0x5290c2(++_0x2755fe);}(_0xacb8,0x119));var _0x8acb=function(_0x3c5c49,_0x70d174){_0x3c5c49=_0x3c5c49-0x0;var _0x397b13=_0xacb8[_0x3c5c49];return _0x397b13;};'use strict';var _=require(_0x8acb('0x0'));var util=require('util');var logger=require(_0x8acb('0x1'))(_0x8acb('0x2'));var moment=require(_0x8acb('0x3'));var BPromise=require('bluebird');var rp=require(_0x8acb('0x4'));var fs=require('fs');var path=require(_0x8acb('0x5'));var rimraf=require('rimraf');var config=require(_0x8acb('0x6'));var attributes=require(_0x8acb('0x7'));module[_0x8acb('0x8')]=function(_0x2b8230,_0x893152){return _0x2b8230[_0x8acb('0x9')]('SmsTransferReport',attributes,{'tableName':_0x8acb('0xa'),'paranoid':![],'indexes':[{'name':_0x8acb('0xb'),'fields':[_0x8acb('0xb')]}],'timestamps':!![]});};