Built motion from commit (unavailable).|2.5.0
[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 _0xe1a8=['request-promise','path','../../config/environment','exports','ChatTransferReport','report_chat_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x3aba65,_0x39f28c){var _0x5a6589=function(_0x5cb07d){while(--_0x5cb07d){_0x3aba65['push'](_0x3aba65['shift']());}};_0x5a6589(++_0x39f28c);}(_0xe1a8,0x6f));var _0x8e1a=function(_0x4805fe,_0x51711e){_0x4805fe=_0x4805fe-0x0;var _0x40de4c=_0xe1a8[_0x4805fe];return _0x40de4c;};'use strict';var _=require(_0x8e1a('0x0'));var util=require(_0x8e1a('0x1'));var logger=require(_0x8e1a('0x2'))(_0x8e1a('0x3'));var moment=require(_0x8e1a('0x4'));var BPromise=require(_0x8e1a('0x5'));var rp=require(_0x8e1a('0x6'));var fs=require('fs');var path=require(_0x8e1a('0x7'));var rimraf=require('rimraf');var config=require(_0x8e1a('0x8'));var attributes=require('./chatTransferReport.attributes');module[_0x8e1a('0x9')]=function(_0x494007,_0x8de75){return _0x494007['define'](_0x8e1a('0xa'),attributes,{'tableName':_0x8e1a('0xb'),'paranoid':![],'indexes':[{'name':_0x8e1a('0xc'),'fields':[_0x8e1a('0xc')]}],'timestamps':!![]});};