Built motion from commit ab870f9e.|2.5.44
[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 _0x72ea=['rimraf','../../config/environment','./smsTransferReport.attributes','exports','define','SmsTransferReport','report_sms_transfer','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x3592c3,_0x2528c3){var _0x3aec7d=function(_0x2e5fd6){while(--_0x2e5fd6){_0x3592c3['push'](_0x3592c3['shift']());}};_0x3aec7d(++_0x2528c3);}(_0x72ea,0x1e8));var _0xa72e=function(_0x24c2cc,_0x25dba3){_0x24c2cc=_0x24c2cc-0x0;var _0x2accb4=_0x72ea[_0x24c2cc];return _0x2accb4;};'use strict';var _=require(_0xa72e('0x0'));var util=require(_0xa72e('0x1'));var logger=require(_0xa72e('0x2'))('api');var moment=require(_0xa72e('0x3'));var BPromise=require(_0xa72e('0x4'));var rp=require(_0xa72e('0x5'));var fs=require('fs');var path=require(_0xa72e('0x6'));var rimraf=require(_0xa72e('0x7'));var config=require(_0xa72e('0x8'));var attributes=require(_0xa72e('0x9'));module[_0xa72e('0xa')]=function(_0x9b66ae,_0x55882c){return _0x9b66ae[_0xa72e('0xb')](_0xa72e('0xc'),attributes,{'tableName':_0xa72e('0xd'),'paranoid':![],'indexes':[{'name':_0xa72e('0xe'),'fields':[_0xa72e('0xe')]}],'timestamps':!![]});};