Built motion from commit ab870f9e.|2.5.44
[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 _0xd3c0=['./whatsappTransferReport.attributes','WhatsappTransferReport','util','../../config/logger','bluebird','request-promise','path','../../config/environment'];(function(_0x4a9dd2,_0x2e5269){var _0x34e381=function(_0x2a736f){while(--_0x2a736f){_0x4a9dd2['push'](_0x4a9dd2['shift']());}};_0x34e381(++_0x2e5269);}(_0xd3c0,0xca));var _0x0d3c=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd3c0[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0x0d3c('0x0'));var logger=require(_0x0d3c('0x1'))('api');var moment=require('moment');var BPromise=require(_0x0d3c('0x2'));var rp=require(_0x0d3c('0x3'));var fs=require('fs');var path=require(_0x0d3c('0x4'));var rimraf=require('rimraf');var config=require(_0x0d3c('0x5'));var attributes=require(_0x0d3c('0x6'));module['exports']=function(_0x110b39,_0x3cae57){return _0x110b39['define'](_0x0d3c('0x7'),attributes,{'tableName':'report_whatsapp_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};