Built motion from commit d1eab355.|2.6.28
[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 _0xbc0c=['uniqueid','project_name','leaveAt','lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./squareReport.attributes','exports','define','report_square','uid_pname'];(function(_0x1aa722,_0x26b3a1){var _0x1cc66b=function(_0x2e1b4f){while(--_0x2e1b4f){_0x1aa722['push'](_0x1aa722['shift']());}};_0x1cc66b(++_0x26b3a1);}(_0xbc0c,0x123));var _0xcbc0=function(_0x2b732e,_0x48e8af){_0x2b732e=_0x2b732e-0x0;var _0x1b2df4=_0xbc0c[_0x2b732e];return _0x1b2df4;};'use strict';var _=require(_0xcbc0('0x0'));var util=require(_0xcbc0('0x1'));var logger=require(_0xcbc0('0x2'))(_0xcbc0('0x3'));var moment=require(_0xcbc0('0x4'));var BPromise=require('bluebird');var rp=require(_0xcbc0('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xcbc0('0x6'));var config=require(_0xcbc0('0x7'));var attributes=require(_0xcbc0('0x8'));module[_0xcbc0('0x9')]=function(_0x4d2163,_0x5d51d0){return _0x4d2163[_0xcbc0('0xa')]('SquareReport',attributes,{'tableName':_0xcbc0('0xb'),'paranoid':![],'indexes':[{'name':_0xcbc0('0xc'),'fields':[_0xcbc0('0xd'),_0xcbc0('0xe')]},{'name':_0xcbc0('0xf'),'fields':[_0xcbc0('0xf')]}],'timestamps':!![]});};