Built motion from commit 3c2ce842.|2.6.31
[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 _0x26a8=['./openchannelTransferReport.attributes','exports','OpenchannelTransferReport','report_openchannel_transfer','lodash','../../config/logger','api','moment'];(function(_0x31cc0e,_0x24ba4c){var _0x144862=function(_0x4d236e){while(--_0x4d236e){_0x31cc0e['push'](_0x31cc0e['shift']());}};_0x144862(++_0x24ba4c);}(_0x26a8,0x1e4));var _0x826a=function(_0x2a0f8a,_0x182843){_0x2a0f8a=_0x2a0f8a-0x0;var _0x2ddf5f=_0x26a8[_0x2a0f8a];return _0x2ddf5f;};'use strict';var _=require(_0x826a('0x0'));var util=require('util');var logger=require(_0x826a('0x1'))(_0x826a('0x2'));var moment=require(_0x826a('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x826a('0x4'));module[_0x826a('0x5')]=function(_0x2d5507,_0xa1c07a){return _0x2d5507['define'](_0x826a('0x6'),attributes,{'tableName':_0x826a('0x7'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};