Built motion from commit 67e5df37.|2.0.66
[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 _0x6aa7=['api','moment','bluebird','./smsTransferReport.attributes','exports','SmsTransferReport','uniqueid','lodash','../../config/logger'];(function(_0x315b02,_0x244855){var _0x59ff8e=function(_0x539fc9){while(--_0x539fc9){_0x315b02['push'](_0x315b02['shift']());}};_0x59ff8e(++_0x244855);}(_0x6aa7,0x178));var _0x76aa=function(_0x1b9e9e,_0xcb9521){_0x1b9e9e=_0x1b9e9e-0x0;var _0x1af2ec=_0x6aa7[_0x1b9e9e];return _0x1af2ec;};'use strict';var _=require(_0x76aa('0x0'));var util=require('util');var logger=require(_0x76aa('0x1'))(_0x76aa('0x2'));var moment=require(_0x76aa('0x3'));var BPromise=require(_0x76aa('0x4'));var rp=require('request-promise');var attributes=require(_0x76aa('0x5'));module[_0x76aa('0x6')]=function(_0x1d6e04,_0x511588){return _0x1d6e04['define'](_0x76aa('0x7'),attributes,{'tableName':'report_sms_transfer','paranoid':![],'indexes':[{'name':_0x76aa('0x8'),'fields':[_0x76aa('0x8')]}],'timestamps':!![]});};