Built motion from commit (unavailable).|2.6.0
[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 _0xbe6a=['SalesforceAccount','int_salesforce_accounts','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./intSalesforceAccount.attributes','../../components/integrations/configuration','exports','define'];(function(_0x1994c5,_0xf2688f){var _0x4f0443=function(_0x4dfe6b){while(--_0x4dfe6b){_0x1994c5['push'](_0x1994c5['shift']());}};_0x4f0443(++_0xf2688f);}(_0xbe6a,0x7a));var _0xabe6=function(_0x483102,_0x54e93d){_0x483102=_0x483102-0x0;var _0x5cc885=_0xbe6a[_0x483102];return _0x5cc885;};'use strict';var _=require(_0xabe6('0x0'));var util=require(_0xabe6('0x1'));var logger=require(_0xabe6('0x2'))(_0xabe6('0x3'));var moment=require(_0xabe6('0x4'));var BPromise=require(_0xabe6('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xabe6('0x6'));var rimraf=require(_0xabe6('0x7'));var config=require(_0xabe6('0x8'));var attributes=require(_0xabe6('0x9'));var integrations=require(_0xabe6('0xa'));module[_0xabe6('0xb')]=function(_0x40a2e4,_0x3c7668){return _0x40a2e4[_0xabe6('0xc')](_0xabe6('0xd'),attributes,{'tableName':_0xabe6('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};