Built motion from commit (unavailable).|2.5.26
[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 _0x0c2f=['lodash','util','api','moment','path','rimraf','./intSalesforceConfiguration.attributes','exports','SalesforceConfiguration','int_salesforce_configurations'];(function(_0x20f549,_0x277e01){var _0x324c4a=function(_0x11abe4){while(--_0x11abe4){_0x20f549['push'](_0x20f549['shift']());}};_0x324c4a(++_0x277e01);}(_0x0c2f,0x17c));var _0xf0c2=function(_0x1fb2fe,_0x544a05){_0x1fb2fe=_0x1fb2fe-0x0;var _0x31e4a8=_0x0c2f[_0x1fb2fe];return _0x31e4a8;};'use strict';var _=require(_0xf0c2('0x0'));var util=require(_0xf0c2('0x1'));var logger=require('../../config/logger')(_0xf0c2('0x2'));var moment=require(_0xf0c2('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xf0c2('0x4'));var rimraf=require(_0xf0c2('0x5'));var config=require('../../config/environment');var attributes=require(_0xf0c2('0x6'));module[_0xf0c2('0x7')]=function(_0x2cf33e,_0x326d05){return _0x2cf33e['define'](_0xf0c2('0x8'),attributes,{'tableName':_0xf0c2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};