Built motion from commit 753c950e.|2.5.42
[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 _0x23a6=['util','../../config/logger','api','moment','bluebird','request-promise','path','./chatTransferReport.attributes','exports','ChatTransferReport','report_chat_transfer','uniqueid','lodash'];(function(_0x52322e,_0x17850b){var _0x57d318=function(_0x5b0225){while(--_0x5b0225){_0x52322e['push'](_0x52322e['shift']());}};_0x57d318(++_0x17850b);}(_0x23a6,0x1e0));var _0x623a=function(_0x41e38e,_0x395960){_0x41e38e=_0x41e38e-0x0;var _0x67992c=_0x23a6[_0x41e38e];return _0x67992c;};'use strict';var _=require(_0x623a('0x0'));var util=require(_0x623a('0x1'));var logger=require(_0x623a('0x2'))(_0x623a('0x3'));var moment=require(_0x623a('0x4'));var BPromise=require(_0x623a('0x5'));var rp=require(_0x623a('0x6'));var fs=require('fs');var path=require(_0x623a('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x623a('0x8'));module[_0x623a('0x9')]=function(_0x143010,_0x503d34){return _0x143010['define'](_0x623a('0xa'),attributes,{'tableName':_0x623a('0xb'),'paranoid':![],'indexes':[{'name':_0x623a('0xc'),'fields':[_0x623a('0xc')]}],'timestamps':!![]});};