64fcd464e2a3155fea4d9314a29fc09a444528cd
[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 _0x536e=['../../config/environment','./smsTransferReport.attributes','exports','report_sms_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x36472f,_0x50db34){var _0x5e31b6=function(_0x58674d){while(--_0x58674d){_0x36472f['push'](_0x36472f['shift']());}};_0x5e31b6(++_0x50db34);}(_0x536e,0x155));var _0xe536=function(_0x47643e,_0x337374){_0x47643e=_0x47643e-0x0;var _0x2aa5db=_0x536e[_0x47643e];return _0x2aa5db;};'use strict';var _=require(_0xe536('0x0'));var util=require(_0xe536('0x1'));var logger=require(_0xe536('0x2'))(_0xe536('0x3'));var moment=require(_0xe536('0x4'));var BPromise=require(_0xe536('0x5'));var rp=require(_0xe536('0x6'));var fs=require('fs');var path=require(_0xe536('0x7'));var rimraf=require(_0xe536('0x8'));var config=require(_0xe536('0x9'));var attributes=require(_0xe536('0xa'));module[_0xe536('0xb')]=function(_0x263c4f,_0x2991af){return _0x263c4f['define']('SmsTransferReport',attributes,{'tableName':_0xe536('0xc'),'paranoid':![],'indexes':[{'name':_0xe536('0xd'),'fields':['uniqueid']}],'timestamps':!![]});};