ca4eef3b8ae80e53d8d146f1a47e38495dbc55f9
[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 _0xb1fc=['lodash','moment','bluebird','request-promise','rimraf','../../config/environment','./smsTransferReport.attributes','define','report_sms_transfer','uniqueid'];(function(_0x3ddd35,_0x723b){var _0x457c35=function(_0x2285b5){while(--_0x2285b5){_0x3ddd35['push'](_0x3ddd35['shift']());}};_0x457c35(++_0x723b);}(_0xb1fc,0x78));var _0xcb1f=function(_0x7f7e71,_0x546848){_0x7f7e71=_0x7f7e71-0x0;var _0x381571=_0xb1fc[_0x7f7e71];return _0x381571;};'use strict';var _=require(_0xcb1f('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xcb1f('0x1'));var BPromise=require(_0xcb1f('0x2'));var rp=require(_0xcb1f('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xcb1f('0x4'));var config=require(_0xcb1f('0x5'));var attributes=require(_0xcb1f('0x6'));module['exports']=function(_0x58f32c,_0x2d450b){return _0x58f32c[_0xcb1f('0x7')]('SmsTransferReport',attributes,{'tableName':_0xcb1f('0x8'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xcb1f('0x9')]}],'timestamps':!![]});};