Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / api / intSalesforceConfiguration / intSalesforceConfiguration.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 _0x7a2e=['exports','define','SalesforceConfiguration','../../config/logger','api','bluebird','request-promise','rimraf','./intSalesforceConfiguration.attributes'];(function(_0x199b1f,_0x4ed849){var _0x267ac9=function(_0x184ac6){while(--_0x184ac6){_0x199b1f['push'](_0x199b1f['shift']());}};_0x267ac9(++_0x4ed849);}(_0x7a2e,0x1b3));var _0xe7a2=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x7a2e[_0x40a045];return _0x1a687c;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe7a2('0x0'))(_0xe7a2('0x1'));var moment=require('moment');var BPromise=require(_0xe7a2('0x2'));var rp=require(_0xe7a2('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe7a2('0x4'));var config=require('../../config/environment');var attributes=require(_0xe7a2('0x5'));module[_0xe7a2('0x6')]=function(_0x544f98,_0xaf383e){return _0x544f98[_0xe7a2('0x7')](_0xe7a2('0x8'),attributes,{'tableName':'int_salesforce_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};