Built motion from commit (unavailable).|2.5.16
[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 _0x649e=['api','moment','bluebird','request-promise','path','rimraf','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger'];(function(_0x2cb2ed,_0x25c155){var _0x28e766=function(_0x253bf2){while(--_0x253bf2){_0x2cb2ed['push'](_0x2cb2ed['shift']());}};_0x28e766(++_0x25c155);}(_0x649e,0xdd));var _0xe649=function(_0x2f920a,_0x3ee398){_0x2f920a=_0x2f920a-0x0;var _0xc44125=_0x649e[_0x2f920a];return _0xc44125;};'use strict';var _=require(_0xe649('0x0'));var util=require(_0xe649('0x1'));var logger=require(_0xe649('0x2'))(_0xe649('0x3'));var moment=require(_0xe649('0x4'));var BPromise=require(_0xe649('0x5'));var rp=require(_0xe649('0x6'));var fs=require('fs');var path=require(_0xe649('0x7'));var rimraf=require(_0xe649('0x8'));var config=require('../../config/environment');var attributes=require(_0xe649('0x9'));module[_0xe649('0xa')]=function(_0x20c209,_0x53687c){return _0x20c209[_0xe649('0xb')](_0xe649('0xc'),attributes,{'tableName':_0xe649('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};