f735369572c388a4fa5a58492de5bb3e32874aba
[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 _0x07f1=['../../config/environment','./intSalesforceConfiguration.attributes','exports','define','SalesforceConfiguration','int_salesforce_configurations','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x19b3f9,_0xade753){var _0x18c3f6=function(_0x21439f){while(--_0x21439f){_0x19b3f9['push'](_0x19b3f9['shift']());}};_0x18c3f6(++_0xade753);}(_0x07f1,0x199));var _0x107f=function(_0x93c179,_0x112c81){_0x93c179=_0x93c179-0x0;var _0x15ddc3=_0x07f1[_0x93c179];return _0x15ddc3;};'use strict';var _=require(_0x107f('0x0'));var util=require(_0x107f('0x1'));var logger=require(_0x107f('0x2'))('api');var moment=require(_0x107f('0x3'));var BPromise=require(_0x107f('0x4'));var rp=require(_0x107f('0x5'));var fs=require('fs');var path=require(_0x107f('0x6'));var rimraf=require('rimraf');var config=require(_0x107f('0x7'));var attributes=require(_0x107f('0x8'));module[_0x107f('0x9')]=function(_0x348f57,_0x2b4e7d){return _0x348f57[_0x107f('0xa')](_0x107f('0xb'),attributes,{'tableName':_0x107f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};