1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xbab7=['rimraf','../../config/environment','exports','define','sa_sales_conditions','lodash','util','api','moment','bluebird'];(function(_0x7185f7,_0x37065){var _0x182e45=function(_0x519e0d){while(--_0x519e0d){_0x7185f7['push'](_0x7185f7['shift']());}};_0x182e45(++_0x37065);}(_0xbab7,0x1db));var _0x7bab=function(_0x2475a6,_0x27e01b){_0x2475a6=_0x2475a6-0x0;var _0x29e949=_0xbab7[_0x2475a6];return _0x29e949;};'use strict';var _=require(_0x7bab('0x0'));var util=require(_0x7bab('0x1'));var logger=require('../../config/logger')(_0x7bab('0x2'));var moment=require(_0x7bab('0x3'));var BPromise=require(_0x7bab('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x7bab('0x5'));var config=require(_0x7bab('0x6'));var attributes=require('./saSalesCondition.attributes');module[_0x7bab('0x7')]=function(_0x3b9a16,_0xe5eec2){return _0x3b9a16[_0x7bab('0x8')]('SASalesCondition',attributes,{'tableName':_0x7bab('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};