Built motion from commit fe909640.|2.6.8
[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 _0x8f43=['moment','bluebird','path','../../config/environment','./intSalesforceAccount.attributes','define','int_salesforce_accounts','lodash','util','../../config/logger','api'];(function(_0x1fb526,_0x24812c){var _0x34eb85=function(_0x366289){while(--_0x366289){_0x1fb526['push'](_0x1fb526['shift']());}};_0x34eb85(++_0x24812c);}(_0x8f43,0xee));var _0x38f4=function(_0x2c16e7,_0x3929f8){_0x2c16e7=_0x2c16e7-0x0;var _0x22d0e2=_0x8f43[_0x2c16e7];return _0x22d0e2;};'use strict';var _=require(_0x38f4('0x0'));var util=require(_0x38f4('0x1'));var logger=require(_0x38f4('0x2'))(_0x38f4('0x3'));var moment=require(_0x38f4('0x4'));var BPromise=require(_0x38f4('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x38f4('0x6'));var rimraf=require('rimraf');var config=require(_0x38f4('0x7'));var attributes=require(_0x38f4('0x8'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x19a3be,_0x1e4cc8){return _0x19a3be[_0x38f4('0x9')]('SalesforceAccount',attributes,{'tableName':_0x38f4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};