d7764100e56a5e67e3bfb2bb00c07b678258f169
[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 _0x88b6=['request-promise','path','rimraf','../../config/environment','./chatTransferReport.attributes','exports','define','ChatTransferReport','report_chat_transfer','uniqueid','lodash','util','../../config/logger','bluebird'];(function(_0x2b826a,_0x219ef6){var _0x3c4313=function(_0x8bd5f){while(--_0x8bd5f){_0x2b826a['push'](_0x2b826a['shift']());}};_0x3c4313(++_0x219ef6);}(_0x88b6,0xf8));var _0x688b=function(_0x45411b,_0x4921e7){_0x45411b=_0x45411b-0x0;var _0x1b9a67=_0x88b6[_0x45411b];return _0x1b9a67;};'use strict';var _=require(_0x688b('0x0'));var util=require(_0x688b('0x1'));var logger=require(_0x688b('0x2'))('api');var moment=require('moment');var BPromise=require(_0x688b('0x3'));var rp=require(_0x688b('0x4'));var fs=require('fs');var path=require(_0x688b('0x5'));var rimraf=require(_0x688b('0x6'));var config=require(_0x688b('0x7'));var attributes=require(_0x688b('0x8'));module[_0x688b('0x9')]=function(_0x43b50b,_0x39d87c){return _0x43b50b[_0x688b('0xa')](_0x688b('0xb'),attributes,{'tableName':_0x688b('0xc'),'paranoid':![],'indexes':[{'name':_0x688b('0xd'),'fields':[_0x688b('0xd')]}],'timestamps':!![]});};