260c31c3091a6007d0ab4d47c0fba0132d854636
[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 _0x28c0=['exports','define','report_chat_transfer','uniqueid','lodash','util','../../config/logger','api','moment','request-promise','path','../../config/environment','./chatTransferReport.attributes'];(function(_0x329166,_0x25aefb){var _0x26591b=function(_0x43ae69){while(--_0x43ae69){_0x329166['push'](_0x329166['shift']());}};_0x26591b(++_0x25aefb);}(_0x28c0,0x93));var _0x028c=function(_0x29d94e,_0xf386d6){_0x29d94e=_0x29d94e-0x0;var _0x106237=_0x28c0[_0x29d94e];return _0x106237;};'use strict';var _=require(_0x028c('0x0'));var util=require(_0x028c('0x1'));var logger=require(_0x028c('0x2'))(_0x028c('0x3'));var moment=require(_0x028c('0x4'));var BPromise=require('bluebird');var rp=require(_0x028c('0x5'));var fs=require('fs');var path=require(_0x028c('0x6'));var rimraf=require('rimraf');var config=require(_0x028c('0x7'));var attributes=require(_0x028c('0x8'));module[_0x028c('0x9')]=function(_0x52101d,_0x37ea72){return _0x52101d[_0x028c('0xa')]('ChatTransferReport',attributes,{'tableName':_0x028c('0xb'),'paranoid':![],'indexes':[{'name':_0x028c('0xc'),'fields':[_0x028c('0xc')]}],'timestamps':!![]});};