Built motion from commit 5293bb2a.|2.6.30
[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 _0x359a=['define','SmsTransferReport','uniqueid','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./smsTransferReport.attributes','exports'];(function(_0x5619c3,_0x568923){var _0x66cf19=function(_0x3028da){while(--_0x3028da){_0x5619c3['push'](_0x5619c3['shift']());}};_0x66cf19(++_0x568923);}(_0x359a,0x153));var _0xa359=function(_0x496fba,_0x1db6bc){_0x496fba=_0x496fba-0x0;var _0xe3e181=_0x359a[_0x496fba];return _0xe3e181;};'use strict';var _=require(_0xa359('0x0'));var util=require(_0xa359('0x1'));var logger=require(_0xa359('0x2'))(_0xa359('0x3'));var moment=require(_0xa359('0x4'));var BPromise=require('bluebird');var rp=require(_0xa359('0x5'));var fs=require('fs');var path=require(_0xa359('0x6'));var rimraf=require(_0xa359('0x7'));var config=require(_0xa359('0x8'));var attributes=require(_0xa359('0x9'));module[_0xa359('0xa')]=function(_0xbaaeb4,_0x1bd70e){return _0xbaaeb4[_0xa359('0xb')](_0xa359('0xc'),attributes,{'tableName':'report_sms_transfer','paranoid':![],'indexes':[{'name':_0xa359('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};