Built motion from commit dc14b02d.|2.6.27
[motion2.git] / server / api / squareReport / squareReport.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 _0x911e=['moment','request-promise','path','../../config/environment','./squareReport.attributes','define','uid_pname','uniqueid','project_name','leaveAt','../../config/logger','api'];(function(_0x44c77f,_0x38a21f){var _0x3dc34d=function(_0x541860){while(--_0x541860){_0x44c77f['push'](_0x44c77f['shift']());}};_0x3dc34d(++_0x38a21f);}(_0x911e,0xb2));var _0xe911=function(_0x591072,_0x3f8708){_0x591072=_0x591072-0x0;var _0x5cc4a9=_0x911e[_0x591072];return _0x5cc4a9;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe911('0x0'))(_0xe911('0x1'));var moment=require(_0xe911('0x2'));var BPromise=require('bluebird');var rp=require(_0xe911('0x3'));var fs=require('fs');var path=require(_0xe911('0x4'));var rimraf=require('rimraf');var config=require(_0xe911('0x5'));var attributes=require(_0xe911('0x6'));module['exports']=function(_0x19a01b,_0x107698){return _0x19a01b[_0xe911('0x7')]('SquareReport',attributes,{'tableName':'report_square','paranoid':![],'indexes':[{'name':_0xe911('0x8'),'fields':[_0xe911('0x9'),_0xe911('0xa')]},{'name':_0xe911('0xb'),'fields':[_0xe911('0xb')]}],'timestamps':!![]});};