59deddd4e98e51bfd52bdc35f24ea14db9884468
[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 _0x61e3=['util','../../config/logger','api','moment','bluebird','request-promise','path','define','int_salesforce_configurations'];(function(_0x472935,_0x5805db){var _0x3a68ee=function(_0x4abb83){while(--_0x4abb83){_0x472935['push'](_0x472935['shift']());}};_0x3a68ee(++_0x5805db);}(_0x61e3,0x17a));var _0x361e=function(_0x24250b,_0x1198b8){_0x24250b=_0x24250b-0x0;var _0x2e7349=_0x61e3[_0x24250b];return _0x2e7349;};'use strict';var _=require('lodash');var util=require(_0x361e('0x0'));var logger=require(_0x361e('0x1'))(_0x361e('0x2'));var moment=require(_0x361e('0x3'));var BPromise=require(_0x361e('0x4'));var rp=require(_0x361e('0x5'));var fs=require('fs');var path=require(_0x361e('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./intSalesforceConfiguration.attributes');module['exports']=function(_0x547c49,_0x3cf8b){return _0x547c49[_0x361e('0x7')]('SalesforceConfiguration',attributes,{'tableName':_0x361e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};