234788117ff3e995dcda8e996ddd3eaabaa27363
[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 _0xe454=['../../config/logger','api','moment','request-promise','path','../../config/environment','exports','define','SalesforceConfiguration','int_salesforce_configurations','lodash'];(function(_0x2add31,_0x22e0c5){var _0x229625=function(_0x26be4c){while(--_0x26be4c){_0x2add31['push'](_0x2add31['shift']());}};_0x229625(++_0x22e0c5);}(_0xe454,0x133));var _0x4e45=function(_0x500dce,_0x399849){_0x500dce=_0x500dce-0x0;var _0x387294=_0xe454[_0x500dce];return _0x387294;};'use strict';var _=require(_0x4e45('0x0'));var util=require('util');var logger=require(_0x4e45('0x1'))(_0x4e45('0x2'));var moment=require(_0x4e45('0x3'));var BPromise=require('bluebird');var rp=require(_0x4e45('0x4'));var fs=require('fs');var path=require(_0x4e45('0x5'));var rimraf=require('rimraf');var config=require(_0x4e45('0x6'));var attributes=require('./intSalesforceConfiguration.attributes');module[_0x4e45('0x7')]=function(_0x14a766,_0x5a8a56){return _0x14a766[_0x4e45('0x8')](_0x4e45('0x9'),attributes,{'tableName':_0x4e45('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};