c81bf67e2f4cac900ae11aea6ed675d747351acc
[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 _0xdbf9=['bluebird','path','../../config/environment','./intSalesforceAccount.attributes','../../components/integrations/configuration','exports','lodash','../../config/logger','api','moment'];(function(_0x4e1cf0,_0x5a9335){var _0x4817c3=function(_0x2613e6){while(--_0x2613e6){_0x4e1cf0['push'](_0x4e1cf0['shift']());}};_0x4817c3(++_0x5a9335);}(_0xdbf9,0x146));var _0x9dbf=function(_0x618414,_0x1a7a60){_0x618414=_0x618414-0x0;var _0x21c19a=_0xdbf9[_0x618414];return _0x21c19a;};'use strict';var _=require(_0x9dbf('0x0'));var util=require('util');var logger=require(_0x9dbf('0x1'))(_0x9dbf('0x2'));var moment=require(_0x9dbf('0x3'));var BPromise=require(_0x9dbf('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9dbf('0x5'));var rimraf=require('rimraf');var config=require(_0x9dbf('0x6'));var attributes=require(_0x9dbf('0x7'));var integrations=require(_0x9dbf('0x8'));module[_0x9dbf('0x9')]=function(_0x5bd66c,_0x3927c5){return _0x5bd66c['define']('SalesforceAccount',attributes,{'tableName':'int_salesforce_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};