Built motion from commit 838c2833.|2.6.24
[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 _0xe1ce=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','SmsTransferReport','lodash'];(function(_0x3c68df,_0x2a093c){var _0x3597a7=function(_0x283eb8){while(--_0x283eb8){_0x3c68df['push'](_0x3c68df['shift']());}};_0x3597a7(++_0x2a093c);}(_0xe1ce,0x15e));var _0xee1c=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0xe1ce[_0x21a9d9];return _0x46adce;};'use strict';var _=require(_0xee1c('0x0'));var util=require(_0xee1c('0x1'));var logger=require(_0xee1c('0x2'))(_0xee1c('0x3'));var moment=require(_0xee1c('0x4'));var BPromise=require(_0xee1c('0x5'));var rp=require(_0xee1c('0x6'));var fs=require('fs');var path=require(_0xee1c('0x7'));var rimraf=require(_0xee1c('0x8'));var config=require(_0xee1c('0x9'));var attributes=require('./smsTransferReport.attributes');module[_0xee1c('0xa')]=function(_0x4f0733,_0x5729f0){return _0x4f0733[_0xee1c('0xb')](_0xee1c('0xc'),attributes,{'tableName':'report_sms_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};