Built motion from commit (unavailable).|2.5.21
[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 _0xd86f=['path','../../components/integrations/configuration','exports','FreshsalesAccount','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x5bab4f,_0xae855a){var _0x424a82=function(_0x575c23){while(--_0x575c23){_0x5bab4f['push'](_0x5bab4f['shift']());}};_0x424a82(++_0xae855a);}(_0xd86f,0x180));var _0xfd86=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0xd86f[_0x40a045];return _0x1a687c;};'use strict';var _=require(_0xfd86('0x0'));var util=require(_0xfd86('0x1'));var logger=require(_0xfd86('0x2'))(_0xfd86('0x3'));var moment=require(_0xfd86('0x4'));var BPromise=require(_0xfd86('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfd86('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./intFreshsalesAccount.attributes');var integrations=require(_0xfd86('0x7'));module[_0xfd86('0x8')]=function(_0xc6094a,_0x403ad3){return _0xc6094a['define'](_0xfd86('0x9'),attributes,{'tableName':'int_freshsales_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};