Built motion from commit da617fac.|2.6.6
[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 _0xf54d=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details'];(function(_0x1d8b80,_0x5817df){var _0x273b69=function(_0x3bfae1){while(--_0x3bfae1){_0x1d8b80['push'](_0x1d8b80['shift']());}};_0x273b69(++_0x5817df);}(_0xf54d,0xd0));var _0xdf54=function(_0x4e8f07,_0x4c6ce4){_0x4e8f07=_0x4e8f07-0x0;var _0x4207de=_0xf54d[_0x4e8f07];return _0x4207de;};'use strict';var _=require('lodash');var util=require(_0xdf54('0x0'));var logger=require(_0xdf54('0x1'))(_0xdf54('0x2'));var moment=require(_0xdf54('0x3'));var BPromise=require(_0xdf54('0x4'));var rp=require(_0xdf54('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xdf54('0x6'));var config=require(_0xdf54('0x7'));var attributes=require(_0xdf54('0x8'));module[_0xdf54('0x9')]=function(_0x55c79e,_0x4e5f4b){return _0x55c79e[_0xdf54('0xa')](_0xdf54('0xb'),attributes,{'tableName':_0xdf54('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};