Built motion from commit (unavailable).|2.5.4
[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 _0x6cd8=['./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','moment','request-promise','../../config/environment'];(function(_0x5b46c1,_0x483889){var _0x52a066=function(_0x5dc6fd){while(--_0x5dc6fd){_0x5b46c1['push'](_0x5b46c1['shift']());}};_0x52a066(++_0x483889);}(_0x6cd8,0x1f2));var _0x86cd=function(_0x2924fe,_0x4331d7){_0x2924fe=_0x2924fe-0x0;var _0x2f17a7=_0x6cd8[_0x2924fe];return _0x2f17a7;};'use strict';var _=require(_0x86cd('0x0'));var util=require(_0x86cd('0x1'));var logger=require(_0x86cd('0x2'))('api');var moment=require(_0x86cd('0x3'));var BPromise=require('bluebird');var rp=require(_0x86cd('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x86cd('0x5'));var attributes=require(_0x86cd('0x6'));module[_0x86cd('0x7')]=function(_0x8af302,_0xa70774){return _0x8af302[_0x86cd('0x8')](_0x86cd('0x9'),attributes,{'tableName':_0x86cd('0xa'),'paranoid':![],'indexes':[{'name':_0x86cd('0xb'),'fields':[_0x86cd('0xb')]}],'timestamps':!![]});};