543b44d379d550499984ab5eb98988fcac9b7390
[motion2.git] / server / api / intSalesforceAccount / intSalesforceAccount.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 _0xb7f9=['bluebird','request-promise','path','rimraf','../../config/environment','./intSalesforceAccount.attributes','define','SalesforceAccount','lodash','util','../../config/logger','api','moment'];(function(_0x5a5c5e,_0x3bf5af){var _0xed56f6=function(_0x3d1661){while(--_0x3d1661){_0x5a5c5e['push'](_0x5a5c5e['shift']());}};_0xed56f6(++_0x3bf5af);}(_0xb7f9,0x1cf));var _0x9b7f=function(_0x2238ba,_0xfeb953){_0x2238ba=_0x2238ba-0x0;var _0x33032f=_0xb7f9[_0x2238ba];return _0x33032f;};'use strict';var _=require(_0x9b7f('0x0'));var util=require(_0x9b7f('0x1'));var logger=require(_0x9b7f('0x2'))(_0x9b7f('0x3'));var moment=require(_0x9b7f('0x4'));var BPromise=require(_0x9b7f('0x5'));var rp=require(_0x9b7f('0x6'));var fs=require('fs');var path=require(_0x9b7f('0x7'));var rimraf=require(_0x9b7f('0x8'));var config=require(_0x9b7f('0x9'));var attributes=require(_0x9b7f('0xa'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x544c7c,_0x3f4804){return _0x544c7c[_0x9b7f('0xb')](_0x9b7f('0xc'),attributes,{'tableName':'int_salesforce_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};