221a58543a7d662fdbdc99af7e0c3905ee4e5b60
[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 _0x7ee1=['bluebird','request-promise','rimraf','../../config/environment','./smsTransferReport.attributes','exports','define','report_sms_transfer','uniqueid','lodash','moment'];(function(_0x2dde34,_0x17cc61){var _0x454551=function(_0x1cc039){while(--_0x1cc039){_0x2dde34['push'](_0x2dde34['shift']());}};_0x454551(++_0x17cc61);}(_0x7ee1,0x8d));var _0x17ee=function(_0x352ff1,_0x1c5aa0){_0x352ff1=_0x352ff1-0x0;var _0x1a2a42=_0x7ee1[_0x352ff1];return _0x1a2a42;};'use strict';var _=require(_0x17ee('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x17ee('0x1'));var BPromise=require(_0x17ee('0x2'));var rp=require(_0x17ee('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x17ee('0x4'));var config=require(_0x17ee('0x5'));var attributes=require(_0x17ee('0x6'));module[_0x17ee('0x7')]=function(_0x5c0617,_0x52b1db){return _0x5c0617[_0x17ee('0x8')]('SmsTransferReport',attributes,{'tableName':_0x17ee('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x17ee('0xa')]}],'timestamps':!![]});};