c7c60909c1730781c636ed0193b76878481b176e
[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 _0xb247=['moment','bluebird','request-promise','rimraf','../../config/environment','define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger','api'];(function(_0x385a40,_0x528256){var _0x5854df=function(_0x5e0b18){while(--_0x5e0b18){_0x385a40['push'](_0x385a40['shift']());}};_0x5854df(++_0x528256);}(_0xb247,0x98));var _0x7b24=function(_0x12e898,_0x1ef073){_0x12e898=_0x12e898-0x0;var _0x190631=_0xb247[_0x12e898];return _0x190631;};'use strict';var _=require(_0x7b24('0x0'));var util=require(_0x7b24('0x1'));var logger=require(_0x7b24('0x2'))(_0x7b24('0x3'));var moment=require(_0x7b24('0x4'));var BPromise=require(_0x7b24('0x5'));var rp=require(_0x7b24('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7b24('0x7'));var config=require(_0x7b24('0x8'));var attributes=require('./squareReportDetail.attributes');module['exports']=function(_0x46ab15,_0x4b5626){return _0x46ab15[_0x7b24('0x9')](_0x7b24('0xa'),attributes,{'tableName':_0x7b24('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};