Built motion from commit (unavailable).|2.5.31
[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 _0x4e6b=['../../config/environment','./intSalesforceAccount.attributes','../../components/integrations/configuration','exports','define','SalesforceAccount','lodash','util','api','bluebird','request-promise','path','rimraf'];(function(_0x164eca,_0x555e28){var _0x2ce562=function(_0x148ca6){while(--_0x148ca6){_0x164eca['push'](_0x164eca['shift']());}};_0x2ce562(++_0x555e28);}(_0x4e6b,0x172));var _0xb4e6=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x4e6b[_0x3b380d];return _0x54502b;};'use strict';var _=require(_0xb4e6('0x0'));var util=require(_0xb4e6('0x1'));var logger=require('../../config/logger')(_0xb4e6('0x2'));var moment=require('moment');var BPromise=require(_0xb4e6('0x3'));var rp=require(_0xb4e6('0x4'));var fs=require('fs');var path=require(_0xb4e6('0x5'));var rimraf=require(_0xb4e6('0x6'));var config=require(_0xb4e6('0x7'));var attributes=require(_0xb4e6('0x8'));var integrations=require(_0xb4e6('0x9'));module[_0xb4e6('0xa')]=function(_0x1cda58,_0xd39953){return _0x1cda58[_0xb4e6('0xb')](_0xb4e6('0xc'),attributes,{'tableName':'int_salesforce_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};