Built motion from commit 25580385.|2.6.2
[motion2.git] / server / api / squareReportDetail / squareReportDetail.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 _0x3cd5=['lodash','util','../../config/logger','moment','request-promise','../../config/environment','./squareReportDetail.attributes','exports','report_square_details'];(function(_0x4df200,_0x132c72){var _0x5b197b=function(_0x192d90){while(--_0x192d90){_0x4df200['push'](_0x4df200['shift']());}};_0x5b197b(++_0x132c72);}(_0x3cd5,0x1c2));var _0x53cd=function(_0x5951e8,_0x42b9a7){_0x5951e8=_0x5951e8-0x0;var _0x20a1f5=_0x3cd5[_0x5951e8];return _0x20a1f5;};'use strict';var _=require(_0x53cd('0x0'));var util=require(_0x53cd('0x1'));var logger=require(_0x53cd('0x2'))('api');var moment=require(_0x53cd('0x3'));var BPromise=require('bluebird');var rp=require(_0x53cd('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x53cd('0x5'));var attributes=require(_0x53cd('0x6'));module[_0x53cd('0x7')]=function(_0x5ea8d1,_0x10572e){return _0x5ea8d1['define']('SquareDetailsReport',attributes,{'tableName':_0x53cd('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};