Built motion from commit (unavailable).|2.5.15
[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 _0x2ce7=['request-promise','path','../../config/environment','./chatTransferReport.attributes','define','ChatTransferReport','uniqueid','lodash','util','api','moment','bluebird'];(function(_0x36a6b9,_0x507980){var _0x465d98=function(_0x923c05){while(--_0x923c05){_0x36a6b9['push'](_0x36a6b9['shift']());}};_0x465d98(++_0x507980);}(_0x2ce7,0xc7));var _0x72ce=function(_0x5ac566,_0x24fd85){_0x5ac566=_0x5ac566-0x0;var _0x48c63b=_0x2ce7[_0x5ac566];return _0x48c63b;};'use strict';var _=require(_0x72ce('0x0'));var util=require(_0x72ce('0x1'));var logger=require('../../config/logger')(_0x72ce('0x2'));var moment=require(_0x72ce('0x3'));var BPromise=require(_0x72ce('0x4'));var rp=require(_0x72ce('0x5'));var fs=require('fs');var path=require(_0x72ce('0x6'));var rimraf=require('rimraf');var config=require(_0x72ce('0x7'));var attributes=require(_0x72ce('0x8'));module['exports']=function(_0x16f7a7,_0x554613){return _0x16f7a7[_0x72ce('0x9')](_0x72ce('0xa'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0x72ce('0xb'),'fields':[_0x72ce('0xb')]}],'timestamps':!![]});};