Built motion from commit fe909640.|2.6.8
[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 _0x0f1f=['../../config/logger','moment','bluebird','path','rimraf','../../config/environment','exports','SalesforceConfiguration','int_salesforce_configurations','lodash','util'];(function(_0x1a3819,_0x6af51b){var _0x3ead2c=function(_0x46e8b5){while(--_0x46e8b5){_0x1a3819['push'](_0x1a3819['shift']());}};_0x3ead2c(++_0x6af51b);}(_0x0f1f,0xc4));var _0xf0f1=function(_0x472f31,_0x231437){_0x472f31=_0x472f31-0x0;var _0x1a8f26=_0x0f1f[_0x472f31];return _0x1a8f26;};'use strict';var _=require(_0xf0f1('0x0'));var util=require(_0xf0f1('0x1'));var logger=require(_0xf0f1('0x2'))('api');var moment=require(_0xf0f1('0x3'));var BPromise=require(_0xf0f1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf0f1('0x5'));var rimraf=require(_0xf0f1('0x6'));var config=require(_0xf0f1('0x7'));var attributes=require('./intSalesforceConfiguration.attributes');module[_0xf0f1('0x8')]=function(_0x4bfbcf,_0x4ed24a){return _0x4bfbcf['define'](_0xf0f1('0x9'),attributes,{'tableName':_0xf0f1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};