Built motion from commit (unavailable).|2.5.31
[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 _0xc02a=['request-promise','rimraf','../../config/environment','define','ChatTransferReport','report_chat_transfer','uniqueid','lodash','util','moment'];(function(_0x102217,_0x2aec70){var _0x1b93b2=function(_0x281242){while(--_0x281242){_0x102217['push'](_0x102217['shift']());}};_0x1b93b2(++_0x2aec70);}(_0xc02a,0x1f1));var _0xac02=function(_0xfa634c,_0x414e0e){_0xfa634c=_0xfa634c-0x0;var _0x73e478=_0xc02a[_0xfa634c];return _0x73e478;};'use strict';var _=require(_0xac02('0x0'));var util=require(_0xac02('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xac02('0x2'));var BPromise=require('bluebird');var rp=require(_0xac02('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xac02('0x4'));var config=require(_0xac02('0x5'));var attributes=require('./chatTransferReport.attributes');module['exports']=function(_0x2e055b,_0x1b7e41){return _0x2e055b[_0xac02('0x6')](_0xac02('0x7'),attributes,{'tableName':_0xac02('0x8'),'paranoid':![],'indexes':[{'name':_0xac02('0x9'),'fields':[_0xac02('0x9')]}],'timestamps':!![]});};