4c209db040550db5ec40f3c663b5cdf79c9eec56
[motion2.git] / server / api / saInvoiceDetail / saInvoiceDetail.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 _0x2104=['util','../../config/logger','api','path','../../config/environment','./saInvoiceDetail.attributes','exports','define','sa_invoice_details'];(function(_0x29857f,_0x207f83){var _0x388890=function(_0x226d14){while(--_0x226d14){_0x29857f['push'](_0x29857f['shift']());}};_0x388890(++_0x207f83);}(_0x2104,0xe1));var _0x4210=function(_0x22cb5f,_0x2cdd63){_0x22cb5f=_0x22cb5f-0x0;var _0x274d36=_0x2104[_0x22cb5f];return _0x274d36;};'use strict';var _=require('lodash');var util=require(_0x4210('0x0'));var logger=require(_0x4210('0x1'))(_0x4210('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x4210('0x3'));var rimraf=require('rimraf');var config=require(_0x4210('0x4'));var attributes=require(_0x4210('0x5'));module[_0x4210('0x6')]=function(_0x1a44ad,_0x59ebae){return _0x1a44ad[_0x4210('0x7')]('SAInvoiceDetail',attributes,{'tableName':_0x4210('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};