42e1638109190e577e233840b98e03edb58d5436
[motion2.git] / server / api / saProductQuotation / saProductQuotation.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 _0x3e86=['../../config/logger','api','request-promise','path','rimraf','../../config/environment','./saProductQuotation.attributes','exports','define','SAProductQuotation','sa_product_has_quotation','lodash','util'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x3e86,0x16a));var _0x63e8=function(_0x22d725,_0x4b9220){_0x22d725=_0x22d725-0x0;var _0x333b24=_0x3e86[_0x22d725];return _0x333b24;};'use strict';var _=require(_0x63e8('0x0'));var util=require(_0x63e8('0x1'));var logger=require(_0x63e8('0x2'))(_0x63e8('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x63e8('0x4'));var fs=require('fs');var path=require(_0x63e8('0x5'));var rimraf=require(_0x63e8('0x6'));var config=require(_0x63e8('0x7'));var attributes=require(_0x63e8('0x8'));module[_0x63e8('0x9')]=function(_0xd0c88f,_0x25de2e){return _0xd0c88f[_0x63e8('0xa')](_0x63e8('0xb'),attributes,{'tableName':_0x63e8('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});};