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 _0x0041=['../../config/environment','./saPaymentMethod.attributes','exports','define','SAPaymentMethod','sa_paymentMethods','util','api','moment','bluebird','request-promise','rimraf'];(function(_0x1eb4e9,_0x52e73e){var _0x313408=function(_0x8dcc2d){while(--_0x8dcc2d){_0x1eb4e9['push'](_0x1eb4e9['shift']());}};_0x313408(++_0x52e73e);}(_0x0041,0xa2));var _0x1004=function(_0x5c3e5b,_0x330081){_0x5c3e5b=_0x5c3e5b-0x0;var _0x2a7d34=_0x0041[_0x5c3e5b];return _0x2a7d34;};'use strict';var _=require('lodash');var util=require(_0x1004('0x0'));var logger=require('../../config/logger')(_0x1004('0x1'));var moment=require(_0x1004('0x2'));var BPromise=require(_0x1004('0x3'));var rp=require(_0x1004('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1004('0x5'));var config=require(_0x1004('0x6'));var attributes=require(_0x1004('0x7'));module[_0x1004('0x8')]=function(_0x4e875e,_0x5150b2){return _0x4e875e[_0x1004('0x9')](_0x1004('0xa'),attributes,{'tableName':_0x1004('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};