Built motion from commit (unavailable).|2.5.14
[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 _0xe836=['uniqueid','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','exports'];(function(_0x4b0b1d,_0x55b209){var _0xf6dbce=function(_0xbe4818){while(--_0xbe4818){_0x4b0b1d['push'](_0x4b0b1d['shift']());}};_0xf6dbce(++_0x55b209);}(_0xe836,0x106));var _0x6e83=function(_0x2b85c4,_0x460406){_0x2b85c4=_0x2b85c4-0x0;var _0x137aa6=_0xe836[_0x2b85c4];return _0x137aa6;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6e83('0x0'))(_0x6e83('0x1'));var moment=require(_0x6e83('0x2'));var BPromise=require(_0x6e83('0x3'));var rp=require(_0x6e83('0x4'));var fs=require('fs');var path=require(_0x6e83('0x5'));var rimraf=require(_0x6e83('0x6'));var config=require('../../config/environment');var attributes=require('./openchannelTransferReport.attributes');module[_0x6e83('0x7')]=function(_0x10344c,_0x2aeba1){return _0x10344c['define']('OpenchannelTransferReport',attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x6e83('0x8')]}],'timestamps':!![]});};