a5545d439871ed96addf9e74142476bcd026e64a
[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 _0xee39=['bluebird','request-promise','path','rimraf','../../config/environment','./smsTransferReport.attributes','exports','SmsTransferReport','report_sms_transfer','uniqueid','lodash','util','../../config/logger','moment'];(function(_0x1d5daf,_0x54d262){var _0x30476e=function(_0x2c8af1){while(--_0x2c8af1){_0x1d5daf['push'](_0x1d5daf['shift']());}};_0x30476e(++_0x54d262);}(_0xee39,0x1e6));var _0x9ee3=function(_0x126aa6,_0x5f301c){_0x126aa6=_0x126aa6-0x0;var _0x3abdf3=_0xee39[_0x126aa6];return _0x3abdf3;};'use strict';var _=require(_0x9ee3('0x0'));var util=require(_0x9ee3('0x1'));var logger=require(_0x9ee3('0x2'))('api');var moment=require(_0x9ee3('0x3'));var BPromise=require(_0x9ee3('0x4'));var rp=require(_0x9ee3('0x5'));var fs=require('fs');var path=require(_0x9ee3('0x6'));var rimraf=require(_0x9ee3('0x7'));var config=require(_0x9ee3('0x8'));var attributes=require(_0x9ee3('0x9'));module[_0x9ee3('0xa')]=function(_0x24d93e,_0x2689bb){return _0x24d93e['define'](_0x9ee3('0xb'),attributes,{'tableName':_0x9ee3('0xc'),'paranoid':![],'indexes':[{'name':_0x9ee3('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};