Built motion from commit 20b39a97.|2.6.29
[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 _0x5c6b=['util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','ChatTransferReport','uniqueid','lodash'];(function(_0x15b399,_0x59db1a){var _0x199f2d=function(_0x3bd31c){while(--_0x3bd31c){_0x15b399['push'](_0x15b399['shift']());}};_0x199f2d(++_0x59db1a);}(_0x5c6b,0x1c2));var _0xb5c6=function(_0x46bae6,_0x3d2157){_0x46bae6=_0x46bae6-0x0;var _0x600618=_0x5c6b[_0x46bae6];return _0x600618;};'use strict';var _=require(_0xb5c6('0x0'));var util=require(_0xb5c6('0x1'));var logger=require(_0xb5c6('0x2'))(_0xb5c6('0x3'));var moment=require(_0xb5c6('0x4'));var BPromise=require('bluebird');var rp=require(_0xb5c6('0x5'));var fs=require('fs');var path=require(_0xb5c6('0x6'));var rimraf=require(_0xb5c6('0x7'));var config=require(_0xb5c6('0x8'));var attributes=require('./chatTransferReport.attributes');module['exports']=function(_0x280931,_0x2311ff){return _0x280931['define'](_0xb5c6('0x9'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0xb5c6('0xa'),'fields':['uniqueid']}],'timestamps':!![]});};