Built motion from commit (unavailable).|2.5.21
[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 _0xafcd=['request-promise','path','rimraf','../../config/environment','./chatTransferReport.attributes','exports','define','report_chat_transfer','uniqueid','util','../../config/logger','api','moment'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0xafcd,0x1c3));var _0xdafc=function(_0x6f3151,_0x406745){_0x6f3151=_0x6f3151-0x0;var _0x305fb8=_0xafcd[_0x6f3151];return _0x305fb8;};'use strict';var _=require('lodash');var util=require(_0xdafc('0x0'));var logger=require(_0xdafc('0x1'))(_0xdafc('0x2'));var moment=require(_0xdafc('0x3'));var BPromise=require('bluebird');var rp=require(_0xdafc('0x4'));var fs=require('fs');var path=require(_0xdafc('0x5'));var rimraf=require(_0xdafc('0x6'));var config=require(_0xdafc('0x7'));var attributes=require(_0xdafc('0x8'));module[_0xdafc('0x9')]=function(_0x21a3df,_0x6cdb1){return _0x21a3df[_0xdafc('0xa')]('ChatTransferReport',attributes,{'tableName':_0xdafc('0xb'),'paranoid':![],'indexes':[{'name':_0xdafc('0xc'),'fields':[_0xdafc('0xc')]}],'timestamps':!![]});};