a659d48b6f769351b481d8a9ad5f7bd397c08398
[motion2.git] / server / api / chatTransferReport / chatTransferReport.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 _0xcc22=['ChatTransferReport','lodash','../../config/logger','api','moment','path','./chatTransferReport.attributes','exports','define'];(function(_0x160c73,_0x2ee678){var _0xd9302=function(_0x169454){while(--_0x169454){_0x160c73['push'](_0x160c73['shift']());}};_0xd9302(++_0x2ee678);}(_0xcc22,0x184));var _0x2cc2=function(_0x1b19d3,_0x334e6f){_0x1b19d3=_0x1b19d3-0x0;var _0x405e3e=_0xcc22[_0x1b19d3];return _0x405e3e;};'use strict';var _=require(_0x2cc2('0x0'));var util=require('util');var logger=require(_0x2cc2('0x1'))(_0x2cc2('0x2'));var moment=require(_0x2cc2('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x2cc2('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x2cc2('0x5'));module[_0x2cc2('0x6')]=function(_0x121ed9,_0x3d125c){return _0x121ed9[_0x2cc2('0x7')](_0x2cc2('0x8'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};