Built motion from commit (unavailable).|2.4.17
[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 _0x20f8=['exports','define','report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./openchannelTransferReport.attributes'];(function(_0x4b7cd9,_0x267be2){var _0x357179=function(_0xd53c47){while(--_0xd53c47){_0x4b7cd9['push'](_0x4b7cd9['shift']());}};_0x357179(++_0x267be2);}(_0x20f8,0x19a));var _0x820f=function(_0x1bae82,_0x554ede){_0x1bae82=_0x1bae82-0x0;var _0x2dde57=_0x20f8[_0x1bae82];return _0x2dde57;};'use strict';var _=require(_0x820f('0x0'));var util=require(_0x820f('0x1'));var logger=require(_0x820f('0x2'))(_0x820f('0x3'));var moment=require(_0x820f('0x4'));var BPromise=require(_0x820f('0x5'));var rp=require(_0x820f('0x6'));var fs=require('fs');var path=require(_0x820f('0x7'));var rimraf=require(_0x820f('0x8'));var config=require('../../config/environment');var attributes=require(_0x820f('0x9'));module[_0x820f('0xa')]=function(_0x31905c,_0x2ea1d8){return _0x31905c[_0x820f('0xb')]('OpenchannelTransferReport',attributes,{'tableName':_0x820f('0xc'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x820f('0xd')]}],'timestamps':!![]});};