d73068c7c6bd443ba3ebe9724711d926922cf333
[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 _0x0f78=['../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./intSalesforceAccount.attributes','../../components/integrations/configuration','exports','define','int_salesforce_accounts','lodash','util'];(function(_0x315ce3,_0x32d4ab){var _0x4b0972=function(_0x489a8d){while(--_0x489a8d){_0x315ce3['push'](_0x315ce3['shift']());}};_0x4b0972(++_0x32d4ab);}(_0x0f78,0x184));var _0x80f7=function(_0xe53b9f,_0x20bf83){_0xe53b9f=_0xe53b9f-0x0;var _0x480f8f=_0x0f78[_0xe53b9f];return _0x480f8f;};'use strict';var _=require(_0x80f7('0x0'));var util=require(_0x80f7('0x1'));var logger=require(_0x80f7('0x2'))(_0x80f7('0x3'));var moment=require('moment');var BPromise=require(_0x80f7('0x4'));var rp=require(_0x80f7('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x80f7('0x6'));var config=require(_0x80f7('0x7'));var attributes=require(_0x80f7('0x8'));var integrations=require(_0x80f7('0x9'));module[_0x80f7('0xa')]=function(_0xf8d960,_0x2d74a0){return _0xf8d960[_0x80f7('0xb')]('SalesforceAccount',attributes,{'tableName':_0x80f7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};