Built motion from commit fa4c4286.|2.6.29
[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 _0x99b5=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatTransferReport.attributes','exports','ChatTransferReport','report_chat_transfer','uniqueid','lodash','util','../../config/logger','api'];(function(_0x580d0e,_0x1e5f43){var _0xb51111=function(_0x4718e7){while(--_0x4718e7){_0x580d0e['push'](_0x580d0e['shift']());}};_0xb51111(++_0x1e5f43);}(_0x99b5,0x191));var _0x599b=function(_0x31c863,_0x1ba177){_0x31c863=_0x31c863-0x0;var _0x15a077=_0x99b5[_0x31c863];return _0x15a077;};'use strict';var _=require(_0x599b('0x0'));var util=require(_0x599b('0x1'));var logger=require(_0x599b('0x2'))(_0x599b('0x3'));var moment=require(_0x599b('0x4'));var BPromise=require(_0x599b('0x5'));var rp=require(_0x599b('0x6'));var fs=require('fs');var path=require(_0x599b('0x7'));var rimraf=require(_0x599b('0x8'));var config=require(_0x599b('0x9'));var attributes=require(_0x599b('0xa'));module[_0x599b('0xb')]=function(_0x559f8d,_0x833ef8){return _0x559f8d['define'](_0x599b('0xc'),attributes,{'tableName':_0x599b('0xd'),'paranoid':![],'indexes':[{'name':_0x599b('0xe'),'fields':[_0x599b('0xe')]}],'timestamps':!![]});};