Built motion from commit ffdca78c.|2.6.24
[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 _0x2e6c=['../../config/logger','api','moment','path','../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','uniqueid','lodash','util'];(function(_0x1a4cca,_0x1503f8){var _0x20af7f=function(_0x4e2b05){while(--_0x4e2b05){_0x1a4cca['push'](_0x1a4cca['shift']());}};_0x20af7f(++_0x1503f8);}(_0x2e6c,0x9a));var _0xc2e6=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x2e6c[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xc2e6('0x0'));var util=require(_0xc2e6('0x1'));var logger=require(_0xc2e6('0x2'))(_0xc2e6('0x3'));var moment=require(_0xc2e6('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xc2e6('0x5'));var rimraf=require('rimraf');var config=require(_0xc2e6('0x6'));var attributes=require(_0xc2e6('0x7'));module[_0xc2e6('0x8')]=function(_0x38f00c,_0x4d9436){return _0x38f00c[_0xc2e6('0x9')](_0xc2e6('0xa'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xc2e6('0xb')]}],'timestamps':!![]});};