Built motion from commit (unavailable).|2.5.8
[motion2.git] / server / api / intFreshsalesAccount / intFreshsalesAccount.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 _0xefc3=['lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../components/integrations/configuration','exports','define','FreshsalesAccount','int_freshsales_accounts'];(function(_0x38f5c0,_0x57b250){var _0x54f13a=function(_0x4a322b){while(--_0x4a322b){_0x38f5c0['push'](_0x38f5c0['shift']());}};_0x54f13a(++_0x57b250);}(_0xefc3,0xa9));var _0x3efc=function(_0x5da973,_0x112386){_0x5da973=_0x5da973-0x0;var _0x190a39=_0xefc3[_0x5da973];return _0x190a39;};'use strict';var _=require(_0x3efc('0x0'));var util=require(_0x3efc('0x1'));var logger=require(_0x3efc('0x2'))(_0x3efc('0x3'));var moment=require(_0x3efc('0x4'));var BPromise=require(_0x3efc('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3efc('0x6'));var rimraf=require(_0x3efc('0x7'));var config=require('../../config/environment');var attributes=require('./intFreshsalesAccount.attributes');var integrations=require(_0x3efc('0x8'));module[_0x3efc('0x9')]=function(_0x5a6982,_0x5ee4df){return _0x5a6982[_0x3efc('0xa')](_0x3efc('0xb'),attributes,{'tableName':_0x3efc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};