Built motion from commit (unavailable).|2.2.0
[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 _0x820e=['util','../../config/logger','api','moment','bluebird','request-promise','exports','ChatTransferReport','report_chat_transfer','uniqueid','lodash'];(function(_0x444abd,_0x291927){var _0x50ef57=function(_0x3832c0){while(--_0x3832c0){_0x444abd['push'](_0x444abd['shift']());}};_0x50ef57(++_0x291927);}(_0x820e,0x18b));var _0xe820=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x820e[_0x1facfa];return _0x9ec701;};'use strict';var _=require(_0xe820('0x0'));var util=require(_0xe820('0x1'));var logger=require(_0xe820('0x2'))(_0xe820('0x3'));var moment=require(_0xe820('0x4'));var BPromise=require(_0xe820('0x5'));var rp=require(_0xe820('0x6'));var attributes=require('./chatTransferReport.attributes');module[_0xe820('0x7')]=function(_0x5dec45,_0x262d60){return _0x5dec45['define'](_0xe820('0x8'),attributes,{'tableName':_0xe820('0x9'),'paranoid':![],'indexes':[{'name':_0xe820('0xa'),'fields':['uniqueid']}],'timestamps':!![]});};