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 _0xd4e3=['./saSalesCondition.attributes','exports','SASalesCondition','sa_sales_conditions','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x46f3f8,_0x12c74b){var _0xbc57cd=function(_0x34df37){while(--_0x34df37){_0x46f3f8['push'](_0x46f3f8['shift']());}};_0xbc57cd(++_0x12c74b);}(_0xd4e3,0x178));var _0x3d4e=function(_0x5c9274,_0x4e849b){_0x5c9274=_0x5c9274-0x0;var _0x1ef7d3=_0xd4e3[_0x5c9274];return _0x1ef7d3;};'use strict';var _=require('lodash');var util=require(_0x3d4e('0x0'));var logger=require(_0x3d4e('0x1'))('api');var moment=require(_0x3d4e('0x2'));var BPromise=require(_0x3d4e('0x3'));var rp=require(_0x3d4e('0x4'));var fs=require('fs');var path=require(_0x3d4e('0x5'));var rimraf=require(_0x3d4e('0x6'));var config=require(_0x3d4e('0x7'));var attributes=require(_0x3d4e('0x8'));module[_0x3d4e('0x9')]=function(_0x6baa87,_0x29e7a1){return _0x6baa87['define'](_0x3d4e('0xa'),attributes,{'tableName':_0x3d4e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};