0d5b7cf9095d06bf2dd10ecdb4d830732ff9b6ff
[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 _0xf719=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsTransferReport.attributes','exports','define','SmsTransferReport','report_sms_transfer','uniqueid'];(function(_0x47b15f,_0x103e93){var _0x55bf25=function(_0x51fe7f){while(--_0x51fe7f){_0x47b15f['push'](_0x47b15f['shift']());}};_0x55bf25(++_0x103e93);}(_0xf719,0x180));var _0x9f71=function(_0x4f6864,_0xdb09cc){_0x4f6864=_0x4f6864-0x0;var _0xcd9bd1=_0xf719[_0x4f6864];return _0xcd9bd1;};'use strict';var _=require(_0x9f71('0x0'));var util=require(_0x9f71('0x1'));var logger=require(_0x9f71('0x2'))(_0x9f71('0x3'));var moment=require(_0x9f71('0x4'));var BPromise=require(_0x9f71('0x5'));var rp=require(_0x9f71('0x6'));var fs=require('fs');var path=require(_0x9f71('0x7'));var rimraf=require(_0x9f71('0x8'));var config=require(_0x9f71('0x9'));var attributes=require(_0x9f71('0xa'));module[_0x9f71('0xb')]=function(_0x3ff5d8,_0x209b02){return _0x3ff5d8[_0x9f71('0xc')](_0x9f71('0xd'),attributes,{'tableName':_0x9f71('0xe'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x9f71('0xf')]}],'timestamps':!![]});};