Built motion from commit b5996064.|2.6.21
[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 _0xc5c7=['request-promise','rimraf','../../config/environment','./smsTransferReport.attributes','exports','SmsTransferReport','uniqueid','util','../../config/logger','api','moment','bluebird'];(function(_0x53825a,_0x370a5c){var _0x2c2a61=function(_0xc27a1c){while(--_0xc27a1c){_0x53825a['push'](_0x53825a['shift']());}};_0x2c2a61(++_0x370a5c);}(_0xc5c7,0x1cf));var _0x7c5c=function(_0x7ba31c,_0x5167e5){_0x7ba31c=_0x7ba31c-0x0;var _0x29bacc=_0xc5c7[_0x7ba31c];return _0x29bacc;};'use strict';var _=require('lodash');var util=require(_0x7c5c('0x0'));var logger=require(_0x7c5c('0x1'))(_0x7c5c('0x2'));var moment=require(_0x7c5c('0x3'));var BPromise=require(_0x7c5c('0x4'));var rp=require(_0x7c5c('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7c5c('0x6'));var config=require(_0x7c5c('0x7'));var attributes=require(_0x7c5c('0x8'));module[_0x7c5c('0x9')]=function(_0x1dc034,_0x4dd500){return _0x1dc034['define'](_0x7c5c('0xa'),attributes,{'tableName':'report_sms_transfer','paranoid':![],'indexes':[{'name':_0x7c5c('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};