6b50affdc6f741b65b7c2db14d84470302d835c1
[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 _0x465a=['exports','define','SalesforceAccount','int_salesforce_accounts','util','api','moment','bluebird','request-promise','../../config/environment','./intSalesforceAccount.attributes','../../components/integrations/configuration'];(function(_0x29d461,_0x237ccb){var _0x5bbe24=function(_0x25a93b){while(--_0x25a93b){_0x29d461['push'](_0x29d461['shift']());}};_0x5bbe24(++_0x237ccb);}(_0x465a,0x1d8));var _0xa465=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x465a[_0x17d9e3];return _0x14192d;};'use strict';var _=require('lodash');var util=require(_0xa465('0x0'));var logger=require('../../config/logger')(_0xa465('0x1'));var moment=require(_0xa465('0x2'));var BPromise=require(_0xa465('0x3'));var rp=require(_0xa465('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa465('0x5'));var attributes=require(_0xa465('0x6'));var integrations=require(_0xa465('0x7'));module[_0xa465('0x8')]=function(_0x616511,_0x576953){return _0x616511[_0xa465('0x9')](_0xa465('0xa'),attributes,{'tableName':_0xa465('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};