Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / openchannelTransferReport / openchannelTransferReport.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 _0xa8e8=['define','OpenchannelTransferReport','uniqueid','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes'];(function(_0x2cf2e9,_0xd58ea1){var _0xd3670d=function(_0x272868){while(--_0x272868){_0x2cf2e9['push'](_0x2cf2e9['shift']());}};_0xd3670d(++_0xd58ea1);}(_0xa8e8,0xcf));var _0x8a8e=function(_0x460013,_0x2ebc73){_0x460013=_0x460013-0x0;var _0x55924f=_0xa8e8[_0x460013];return _0x55924f;};'use strict';var _=require('lodash');var util=require(_0x8a8e('0x0'));var logger=require(_0x8a8e('0x1'))(_0x8a8e('0x2'));var moment=require('moment');var BPromise=require(_0x8a8e('0x3'));var rp=require(_0x8a8e('0x4'));var fs=require('fs');var path=require(_0x8a8e('0x5'));var rimraf=require(_0x8a8e('0x6'));var config=require(_0x8a8e('0x7'));var attributes=require(_0x8a8e('0x8'));module['exports']=function(_0x3e7531,_0x272022){return _0x3e7531[_0x8a8e('0x9')](_0x8a8e('0xa'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x8a8e('0xb')]}],'timestamps':!![]});};