Built motion from commit 3e059bc2.|2.5.32
[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 _0x8e89=['int_salesforce_accounts','lodash','util','api','bluebird','request-promise','rimraf','../../config/environment','./intSalesforceAccount.attributes','../../components/integrations/configuration','exports','define'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x8e89,0x1a5));var _0x98e8=function(_0x5e238b,_0x17ae49){_0x5e238b=_0x5e238b-0x0;var _0x389bea=_0x8e89[_0x5e238b];return _0x389bea;};'use strict';var _=require(_0x98e8('0x0'));var util=require(_0x98e8('0x1'));var logger=require('../../config/logger')(_0x98e8('0x2'));var moment=require('moment');var BPromise=require(_0x98e8('0x3'));var rp=require(_0x98e8('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x98e8('0x5'));var config=require(_0x98e8('0x6'));var attributes=require(_0x98e8('0x7'));var integrations=require(_0x98e8('0x8'));module[_0x98e8('0x9')]=function(_0x5c132d,_0x31242f){return _0x5c132d[_0x98e8('0xa')]('SalesforceAccount',attributes,{'tableName':_0x98e8('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};