Built motion from commit (unavailable).|2.5.10
[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 _0xceef=['exports','define','int_salesforce_accounts','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./intSalesforceAccount.attributes','../../components/integrations/configuration'];(function(_0x160f07,_0x4ed237){var _0x4e9e71=function(_0xb5d7d5){while(--_0xb5d7d5){_0x160f07['push'](_0x160f07['shift']());}};_0x4e9e71(++_0x4ed237);}(_0xceef,0x189));var _0xfcee=function(_0x49c1f2,_0x468abb){_0x49c1f2=_0x49c1f2-0x0;var _0x2058c9=_0xceef[_0x49c1f2];return _0x2058c9;};'use strict';var _=require(_0xfcee('0x0'));var util=require(_0xfcee('0x1'));var logger=require('../../config/logger')(_0xfcee('0x2'));var moment=require(_0xfcee('0x3'));var BPromise=require(_0xfcee('0x4'));var rp=require(_0xfcee('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfcee('0x6'));var config=require(_0xfcee('0x7'));var attributes=require(_0xfcee('0x8'));var integrations=require(_0xfcee('0x9'));module[_0xfcee('0xa')]=function(_0x3ac084,_0x239ae1){return _0x3ac084[_0xfcee('0xb')]('SalesforceAccount',attributes,{'tableName':_0xfcee('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};