eee47d2ce16e1181cede4b2be7cc5a3ae589e28e
[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 _0xbe3c=['rimraf','../../config/environment','./chatTransferReport.attributes','exports','ChatTransferReport','uniqueid','lodash','util','api','moment','bluebird','request-promise'];(function(_0xe485c4,_0x3d0f36){var _0x24cb58=function(_0x492673){while(--_0x492673){_0xe485c4['push'](_0xe485c4['shift']());}};_0x24cb58(++_0x3d0f36);}(_0xbe3c,0x102));var _0xcbe3=function(_0x22bdf1,_0x22134e){_0x22bdf1=_0x22bdf1-0x0;var _0x273778=_0xbe3c[_0x22bdf1];return _0x273778;};'use strict';var _=require(_0xcbe3('0x0'));var util=require(_0xcbe3('0x1'));var logger=require('../../config/logger')(_0xcbe3('0x2'));var moment=require(_0xcbe3('0x3'));var BPromise=require(_0xcbe3('0x4'));var rp=require(_0xcbe3('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xcbe3('0x6'));var config=require(_0xcbe3('0x7'));var attributes=require(_0xcbe3('0x8'));module[_0xcbe3('0x9')]=function(_0x4d7658,_0xc79ef2){return _0x4d7658['define'](_0xcbe3('0xa'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0xcbe3('0xb'),'fields':[_0xcbe3('0xb')]}],'timestamps':!![]});};