Built motion from commit 19a84241.|2.5.34
[motion2.git] / server / api / whatsappTransferReport / whatsappTransferReport.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 _0x9198=['../../config/environment','./whatsappTransferReport.attributes','WhatsappTransferReport','uniqueid','util','../../config/logger','bluebird','request-promise','path'];(function(_0x558cb4,_0x426ff2){var _0x4d3c21=function(_0x513697){while(--_0x513697){_0x558cb4['push'](_0x558cb4['shift']());}};_0x4d3c21(++_0x426ff2);}(_0x9198,0xe5));var _0x8919=function(_0x2b0146,_0x461ef1){_0x2b0146=_0x2b0146-0x0;var _0x45e168=_0x9198[_0x2b0146];return _0x45e168;};'use strict';var _=require('lodash');var util=require(_0x8919('0x0'));var logger=require(_0x8919('0x1'))('api');var moment=require('moment');var BPromise=require(_0x8919('0x2'));var rp=require(_0x8919('0x3'));var fs=require('fs');var path=require(_0x8919('0x4'));var rimraf=require('rimraf');var config=require(_0x8919('0x5'));var attributes=require(_0x8919('0x6'));module['exports']=function(_0x4d65c4,_0x23b681){return _0x4d65c4['define'](_0x8919('0x7'),attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':_0x8919('0x8'),'fields':[_0x8919('0x8')]}],'timestamps':!![]});};