Built motion from commit (unavailable).|2.5.11
[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 _0xa711=['ChatTransferReport','report_chat_transfer','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./chatTransferReport.attributes','define'];(function(_0x435ff1,_0x219988){var _0x531991=function(_0x57afda){while(--_0x57afda){_0x435ff1['push'](_0x435ff1['shift']());}};_0x531991(++_0x219988);}(_0xa711,0x6e));var _0x1a71=function(_0x88a94f,_0x3cd27d){_0x88a94f=_0x88a94f-0x0;var _0x4db244=_0xa711[_0x88a94f];return _0x4db244;};'use strict';var _=require(_0x1a71('0x0'));var util=require(_0x1a71('0x1'));var logger=require('../../config/logger')(_0x1a71('0x2'));var moment=require(_0x1a71('0x3'));var BPromise=require(_0x1a71('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1a71('0x5'));var rimraf=require(_0x1a71('0x6'));var config=require(_0x1a71('0x7'));var attributes=require(_0x1a71('0x8'));module['exports']=function(_0x43455c,_0x5501d6){return _0x43455c[_0x1a71('0x9')](_0x1a71('0xa'),attributes,{'tableName':_0x1a71('0xb'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};