Built motion from commit (unavailable).|2.5.2
[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 _0xe08a=['../../config/environment','./chatTransferReport.attributes','exports','ChatTransferReport','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x277809,_0x2be02a){var _0x2441ad=function(_0x27d0a4){while(--_0x27d0a4){_0x277809['push'](_0x277809['shift']());}};_0x2441ad(++_0x2be02a);}(_0xe08a,0x1d9));var _0xae08=function(_0x273b50,_0x2c405f){_0x273b50=_0x273b50-0x0;var _0x3fd843=_0xe08a[_0x273b50];return _0x3fd843;};'use strict';var _=require(_0xae08('0x0'));var util=require(_0xae08('0x1'));var logger=require(_0xae08('0x2'))(_0xae08('0x3'));var moment=require(_0xae08('0x4'));var BPromise=require(_0xae08('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xae08('0x6'));var rimraf=require(_0xae08('0x7'));var config=require(_0xae08('0x8'));var attributes=require(_0xae08('0x9'));module[_0xae08('0xa')]=function(_0x32868e,_0x320a41){return _0x32868e['define'](_0xae08('0xb'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':_0xae08('0xc'),'fields':['uniqueid']}],'timestamps':!![]});};