2c0f8c1deedf8ad3d788d391c53f903f54932531
[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 _0x86c0=['./chatTransferReport.attributes','define','ChatTransferReport','uniqueid','lodash','util','../../config/logger','api','moment','request-promise','path','../../config/environment'];(function(_0x314377,_0x5eae6b){var _0x20093f=function(_0x39c7ef){while(--_0x39c7ef){_0x314377['push'](_0x314377['shift']());}};_0x20093f(++_0x5eae6b);}(_0x86c0,0x1d8));var _0x086c=function(_0x23d313,_0x4a9058){_0x23d313=_0x23d313-0x0;var _0x30aaa0=_0x86c0[_0x23d313];return _0x30aaa0;};'use strict';var _=require(_0x086c('0x0'));var util=require(_0x086c('0x1'));var logger=require(_0x086c('0x2'))(_0x086c('0x3'));var moment=require(_0x086c('0x4'));var BPromise=require('bluebird');var rp=require(_0x086c('0x5'));var fs=require('fs');var path=require(_0x086c('0x6'));var rimraf=require('rimraf');var config=require(_0x086c('0x7'));var attributes=require(_0x086c('0x8'));module['exports']=function(_0x25e15f,_0x592883){return _0x25e15f[_0x086c('0x9')](_0x086c('0xa'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0x086c('0xb'),'fields':[_0x086c('0xb')]}],'timestamps':!![]});};